New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 777562 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 674022
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

'Content-Disposition' header not properly encoded

Reported by mjani...@arw.is, Oct 23 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36

Steps to reproduce the problem:
1. Create a file with a special character in it's name, ie. "Stecker fÅr MWM Modul"
2. Upload file to API endpoint (I'm using WebApi2 .NET 4.6)
3. In the API, notice that the 'content-disposition' header has a filename that contains an 'A' and the ASCII hex code for the degree symbol (0xb0), ie. "Stecker fA(0xb0)r MWM Modul" (see attached image)

What is the expected behavior?
The Å in the filename should be maintained as a single character instead of it's component ASCII characters (I guess?).

What went wrong?
It would seem that these special characters are being broken into their component ASCII characters.

Did this work before? N/A 

Chrome version: 62.0.3202.62  Channel: stable
OS Version: 10.12.6 (Sierra)
Flash Version: 

This seems to be isolated to my colleagues that use Chrome 62 on their Macbooks. I'm 99.5% confident this is a new issue brought on by the v62 release. I'm using the same release on Windows and do not have this issue.

I've attached a screenshot from my log file that shows the 'content-disposition' header as it was provided to the API. Hopefully that helps serve as evidence.
 
mac-chrome issue.png
1.6 KB View Download
Cc: shrike@chromium.org
Labels: Needs-Triage-M62 Needs-Feedback Needs-Bisect
mjanisse@, thank you for the report. Can you please attach a sample test case to repro?

Comment 2 by mjani...@arw.is, Oct 24 2017

I will certainly try... hopefully a NodeJs app will work. Might take me a day or two to get to this.
Project Member

Comment 3 by sheriffbot@chromium.org, Oct 24 2017

Cc: manoranj...@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "manoranjanr@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Blink>Forms>File

Comment 5 by tkent@chromium.org, Oct 25 2017

Mergedinto: 674022
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment