Closed
Bug 1372737
Opened 7 years ago
Closed 7 years ago
'Save Image As' for request adds parameters to file extension, can't be opened by file managers
Categories
(DevTools :: Netmonitor, defect, P3)
DevTools
Netmonitor
Tracking
(firefox56 fixed)
RESOLVED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: aryx, Assigned: Honza)
References
Details
Attachments
(1 file)
Firefox Nightly 56.0a1 20170613 on Windows 8.1 Calling "Save Image As" from the context menu of an image request in netmonitor also adds the parameters to the file extension so that file managers don't know how to open it by default, e.g. foo.jpg?bar becomes foo.jpg_bar Steps to reproduce: 1. Open net monitor. 2. Visit http://www.tagesschau.de/ 3. Filter for image requests. 4. One of the first requests should be ts1_videowebs.jpg?<some number>. Find it. 5. Open the context menu for that request. 6. Call 'Save Image As' and save the file. Actual result: File saved as ts1_videowebs.jpg_<some number> Expected result: File saved so that the .jpg file extension gets preserved, e.g. as ts1_videowebs.jpg, ts1_videowebs_<some number>.jpg or ts1_videowebs-<some number>.jpg
Assignee | ||
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
hg error in cmd: hg push -r . -f try: pushing to ssh://hg.mozilla.org/try searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 2 changesets with 1 changes to 1 files (+1 heads) remote: autoland push detected remote: recorded push in pushlog remote: remote: View your changes here: remote: https://hg.mozilla.org/try/rev/bbebbcb11c196ac87bc8162c3ecc7abb7244154b remote: https://hg.mozilla.org/try/rev/c1e882f0292336abeb491106e6b5512141cfa9eb remote: remote: Follow the progress of your build on Treeherder: remote: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c1e882f0292336abeb491106e6b5512141cfa9eb remote: recorded changegroup in replication log in 0.124s remote: ** unknown exception encountered, please report by visiting remote: ** https://mercurial-scm.org/wiki/BugTracker remote: ** Python 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] remote: ** Mercurial Distributed SCM (version 4.1.2) remote: ** Extensions loaded: blackbox, clonebundles, obsolescencehacks, pushlog, serverlog, readonly, vcsreplicator remote: Traceback (most recent call last): remote: File "/var/hg/venv_pash/bin/hg", line 45, in <module> remote: mercurial.dispatch.run() remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 63, in run remote: sys.exit((dispatch(request(pycompat.sysargv[1:])) or 0) & 255) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 129, in dispatch remote: ret = _runcatch(req) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 219, in _runcatch remote: return callcatch(ui, _runcatchfunc) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 227, in callcatch remote: return scmutil.callcatch(ui, func) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/scmutil.py", line 152, in callcatch remote: return func() remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 208, in _runcatchfunc remote: return _dispatch(req) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 811, in _dispatch remote: cmdpats, cmdoptions) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 563, in runcommand remote: ret = _runcommand(ui, options, cmd, d) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 819, in _runcommand remote: return cmdfunc() remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/dispatch.py", line 808, in <lambda> remote: d = lambda: util.checksignature(func)(ui, *args, **strcmdopt) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check remote: return func(*args, **kwargs) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/commands.py", line 5824, in serve remote: s.serve_forever() remote: File "/var/hg/version-control-tools/hgext/serverlog/__init__.py", line 320, in serve_forever remote: return super(sshserverwrapped, self).serve_forever() remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/sshserver.py", line 104, in serve_forever remote: while self.serve_one(): remote: File "/var/hg/version-control-tools/hgext/serverlog/__init__.py", line 351, in serve_one remote: return super(sshserverwrapped, self).serve_one() remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/sshserver.py", line 122, in serve_one remote: rsp = wireproto.dispatch(self.repo, self, cmd) remote: File "/var/hg/version-control-tools/hgext/serverlog/__init__.py", line 343, in dispatch remote: return origdispatch(repo, proto, cmd) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/extensions.py", line 223, in closure remote: return func(*(args + a), **kw) remote: File "/var/hg/version-control-tools/pylib/vcsreplicator/vcsreplicator/hgext.py", line 359, in wireprotodispatch remote: return orig(repo, proto, command) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/wireproto.py", line 569, in dispatch remote: return func(repo, proto, *args) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/wireproto.py", line 982, in unbundle remote: proto._client()) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/exchange.py", line 1771, in unbundle remote: lockandtr[2].close() remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/transaction.py", line 43, in _active remote: return func(self, *args, **kwds) remote: File "/var/hg/venv_pash/lib/python2.7/site-packages/mercurial/transaction.py", line 490, in close remote: self._postclosecallback[cat](self) remote: File "/var/hg/version-control-tools/hgext/pushlog/__init__.py", line 236, in onpostclose remote: conn.commit() remote: sqlite3.OperationalError: database is locked abort: stream ended unexpectedly (got 0 bytes, expected 4)
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8877485 [details] Bug 1372737 - Use URL base name as the default file name for save as; https://reviewboard.mozilla.org/r/148930/#review153404
Attachment #8877485 -
Flags: review?(gasolin) → review+
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd007baa9991 Use URL base name as the default file name for save as; r=gasolin
Reporter | ||
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd007baa9991
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Comment 6•7 years ago
|
||
I have reproduced this bug with Nightly 56.0a1 (2017-06-13) in Windows 10 (64-bit). This bug's fix is verified with latest Nightly 56.0a1 (64-bit). Build ID : 20170616030207 User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 [bugday 20170614]
Comment 7•7 years ago
|
||
I have reproduced this bug with Nightly 56.0a1 (2017-06-13) on Ubuntu 16.04, 64 bit! The bug's fix is now verified on latest Nightly 56.0a1. Build ID 20170616100254 User Agent Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 [bugday 20170614]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•