Closed Bug 115875 Opened 24 years ago Closed 23 years ago

named "attachment" instead of real name

Categories

(Tech Evangelism Graveyard :: Dutch, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: abeeri, Assigned: tristan)

References

()

Details

1. Go to the url above in IE and in Mozilla 2. Right-click on the image and click "save as" In mozilla it saved without it's real name. I use build 2001112009
This should be fixed by the new saving code Ben just landed. Please retest with a recent (0.9.7 or recent nightly) build.
Actually, evangelism. The HTTP header has: Content-disposition: atachment; filename=image2.jpg Note that "attachment" is mis-spelled.
Assignee: asa → nitot
Status: UNCONFIRMED → NEW
Component: Browser-General → Europe: West
Ever confirmed: true
OS: Windows 98 → All
Product: Browser → Tech Evangelism
QA Contact: doronr → caillon
Hardware: PC → All
Version: other → unspecified
Summary: named "attachment" instead of rael name → named "attachment" instead of real name
http://www.vbulletin.com/forum/showthread.php?threadid=32285 It is a deliberate misspelling .. one of the authors gives an explation further down the page.
Copy / Paste from the bulletin board: << (PHP code) if (strstr($HTTP_USER_AGENT,"MSIE")) { $attachment = ''; } else { $attachment = ' atachment;'; // We could still be MSIE behind a firewall blocking USER_AGENT so use something that will work!! } >> And a bit further down the thread: << If do not specify "attachment" at all than IE is happy. Netscape 6 on the other hand doesn't know what to call the file when you download it. If we specify "attachment" than Netscape is happy except IE will prompt you twice when downloading. Now we can ask the browser what they are and set it properly, as you can see I put in a check to do but we still have a problem. If the browser is behind a proxy and sending us the wrong browser line than we could use the wrong value. Making it 'atachement' works for both browsers as IE ignores it an treats it as if it isn't there and Netscape accepts it at "attachment". If the browsers change their behavior in the future than we can change attachment.php. You will find what is there works properly on Netscape and IE now.>>
it's wants to save as "image2.jpg" now
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
The bug is fixed then.
v
Status: RESOLVED → VERIFIED
tech evang june 2003 reorg
Component: Europe: West → Dutch
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.