Closed
Bug 81295
Opened 24 years ago
Closed 23 years ago
Save Image (jpeg&filename=MVC-178f.jpg) should be Save Image (MVC-178f.jpg)
Categories
(SeaMonkey :: MailNews: Message Display, defect, P3)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: cavin)
References
Details
Attachments
(1 file)
(deleted),
patch
|
naving
:
review+
bugs
:
superreview+
|
Details | Diff | Splinter Review |
Observed when verifying the fix for bug 63225:
Build ID: Windows 2000 build 2001-05-16-08
RedHat 7.0 build 2001-05-16-06
Mac OS 9.1 build 2001-05-16-08
1. Context click on an image in the message pane.
2. Look at the string after "Save Image" that appears on the context menu.
Expected Results:
Save Image (MVC-178f.jpg)
Actual Results:
Save Image (jpeg&filename=MVC-178f.jpg)
Caving did the fix for bug 63225, so I'm hoping he won't mind taking a look at
this.
Comment 1•24 years ago
|
||
thanks for logging this. cavin and I saw this when testing.
see extractFileNameFromUrl(). that just gets the name by using the last "/".
works fine for "http://foo/bar/cheese.jpg", but not for our mailnews urls.
Assignee | ||
Comment 2•24 years ago
|
||
Like Seth said, the display name is toally up to extractFileNameFromUrl(). The
url of the image is something like (line is too long so make it into two):
imap://user@host.com:143/fetch>UID>/INBOX>951
?part=1.2&type=image/gif&filename=foo.jpeg
That's why 'jpeg&filename=foo.fig' is displayed.
Reporter | ||
Comment 3•23 years ago
|
||
Nominating for nsbeta1, since this is just kinda goofy. We should fix
extractFileNameFromUrl()
Keywords: nsbeta1
Updated•23 years ago
|
Updated•23 years ago
|
Priority: -- → P3
Assignee | ||
Comment 4•23 years ago
|
||
Added code to extract file name after string "filename=", if present.
Assignee | ||
Comment 5•23 years ago
|
||
Navin and Seth, can you review the patch? Thanks.
Comment 6•23 years ago
|
||
Comment on attachment 62153 [details] [diff] [review]
Patch file.
r=naving, looks like
your fix will work
with news and local also.
Attachment #62153 -
Flags: review+
Assignee | ||
Comment 7•23 years ago
|
||
Adding dependency on bug 73946 since without it we really can't save the images.
Depends on: 73946
Comment 8•23 years ago
|
||
that seems fine, since we that's how generate images urls in mimeiimg.cpp,
MimeInlineImage_parse_begin()
you might want to add that information in the comment.
Does it work properly if the image name is "filename=x.gif", does that get
escaped so that the url is
imap://user@host.com:143/fetch>UID>/INBOX>951
?part=1.2&type=image/gif&filename=filename%3Dx.gif"
sr=sspitzer
Assignee | ||
Comment 9•23 years ago
|
||
Ccing ben@netscape.com for review since we don't own file
xpfe/communicator/resources/content/utilityOverlay.js.
Reporter | ||
Updated•23 years ago
|
Assignee | ||
Comment 10•23 years ago
|
||
Ben, can you review the patch before I check it in?
Comment 11•23 years ago
|
||
Attachment #62153 -
Flags: superreview+
Assignee | ||
Comment 12•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•23 years ago
|
||
Verified FIXED with:
RedHat 7.2 - 2002-02-13-08
Windows 2K - 2002-02-13-03
Mac OS X - 2002-02-12-03
File types:
JPEG, BMP, GIF, PNG. Used both the attachment tree and the context menu items.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•