Closed
Bug 1320873
Opened 7 years ago
Closed 7 years ago
Error attaching image from redirected http
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 204250
People
(Reporter: mozilla_org, Unassigned)
Details
Attachments
(1 file)
34.75 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 Steps to reproduce: Create an email and add image http link that is redirected (from http://domain to http://www.domain), try to save or send. (problem on computers where you have image in footer, and the link to the image because of seo did get 301 redirect, still valid but redirected) Actual results: Image is showing, but when saving or sending you get. Alert: "Error while attaching a file to message, continue without it?" Expected results: Image is showing and successfully send or save message.
Severity: normal → trivial
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Comment 1•7 years ago
|
||
This is already reported issue. Sorry but I don't remember bug number. 1. While composing, showing redirected image is normally done. 2. When save/send, accessing the redirected image fails. This is simply because different code is used in 1 and 2, and 2 has problem in redirected uri processing. Similar change to Bug 1318450 such as "data: uri for external link image" may be a solution. If changed to data: uri at step 1, no oproblem occurs.
Comment 2•7 years ago
|
||
FYI. Bug 1202689(unfortunately duped to bug 1201782) is similar phenomenon to this bug. This bug : image data access during save/send fails due to redirect That bug : image data access during save/send fails because user prohibits remote image access
Comment 3•7 years ago
|
||
(In reply to WADA from comment #1) > Similar change to Bug 1318450 such as "data: uri for external link image" > may be a solution. > If changed to data: uri at step 1, no problem occurs. We don't plan to change http references to data URIs, only mailbox references, that is, references to images in other messages. (In reply to WADA from comment #2) > Bug 1202689(unfortunately duped to bug 1201782) is similar phenomenon to > this bug. I undid the duplicate. So this bug here is about redirects, and there seems to be a problem in accessing redirected images in save/send.
without redirect - working with redirect - breaks at save/send (preview working) And it was a problem because img in footer was linked to website, and they added SEO redirect on site so it redirects all from domain to www.domain. ( But overall it's tivial problem.
Comment 5•7 years ago
|
||
Can you give me an example, so I can test this.
Adding img email using for example: https://gstatic.com/images/branding/googlelogo/2x/googlelogo_dark_color_84x28dp.png This url redirects you to www.gstatic.com It did show on preview but fail to send.
Comment 7•7 years ago
|
||
Actually, this was reported before, so let's dupe it to the original bug.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•