Open
Bug 1108341
Opened 10 years ago
Updated 2 years ago
Context menu entries use the original URI instead of the current URI
Categories
(Firefox :: Menus, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: myaddons, Unassigned)
Details
When I open the picture http://www.mozilla.org/favicon.ico, the request gets redirected by the server to https://www.mozilla.org/favicon.ico. The icon is correctly shown in the browser and the location is correctly displayed in the urlbar as https://www.mozilla.org/favicon.ico. However, if I try to copy the image location using the context menu entry "Copy Image Location", the original URI http://www.mozilla.org/favicon.ico is copied. I think, instead of the original URI of the request, the current URI of the request - as correctly displayed in the urlbar - should be copied. The very same problem affects "Copy Image", "Copy Image Location", "Save Image As" and "Email Image". It also affects the context menu entries for audio and video.
Reporter | ||
Comment 1•10 years ago
|
||
I am also the developer of the add-on Redirect Cleaner (https://addons.mozilla.org/addon/redirect-cleaner/). It uses nsIHttpChannel.redirectTo() to rewrite certain requests. If you use Redirect Cleaner the problem as described in comment #0 becomes more obvious. A link like http://www.example.com?url=https://www.mozilla.org/favicon.ico gets rewritten by Redirect Cleaner to https://www.mozilla.org/favicon.ico. The icon is correctly shown in the browser and the location is correctly displayed in the urlbar as https://www.mozilla.org/favicon.ico. However, if I try to copy the image location using the context menu entry "Copy Image Location", the original URI http://www.example.com?url=https://www.mozilla.org/favicon.ico is copied. If I try to save the image using the context menu entry "Save Image As" the image is not saved at all. Instead the page http://www.example.com?url=https://www.mozilla.org/favicon.ico is saved.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•