Closed
Bug 367516
Opened 18 years ago
Closed 18 years ago
Message Header Extensions for Non-ASCII Text.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: otto, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
I try to create http server with ability of file downloading. When I send the file content to client, I create a header into response like:
Content-Disposition: attachment; filename="document.doc"
according to RFC 2183. FF works fine, it detects file name and prompts to save a file. The problem happens when I use locale-specific characters, which are not presented in US-ASCII encoding. Then I use Message Header Extensions (RFC 2047), and replace for example following string:
Content-Disposition: attachment; filename="СМЕТЫ - Тест-план.xls"
to
Content-Disposition: =?Cp1251?B?YXR0YWNobWVudDsgZmlsZW5hbWU9ItHMxdLbIC0g0uXx8i3v6+DtLnhscyI=?=
FF still suggests to save file but does not detect its filename.
Reproducible: Always
Expected Results:
FF should properly process encoded HTTP headers.
| Reporter | ||
Updated•18 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•