Open
Bug 1071712
Opened 10 years ago
Updated 2 years ago
promethease.com drops the connection if "AB'CDEFG5" is used as the filename
Categories
(Core :: Networking, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: cariaso, Unassigned)
References
()
Details
(Whiteboard: [necko-backlog])
Attachments
(1 file)
2.20 MB,
text/csv
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.122 Safari/537.36 Steps to reproduce: visit https://promethease.com upload the attached file named AB'CDEFG5.csv upload begins Actual results: progress bar will go red and report a CORS failure Expected results: upload complete. Rename the file to remove the single quote. Reupload the file. Everything works fine.
Comment 1•10 years ago
|
||
Thank you for the bug report! What's happening as far as I can see is this: 1) We send the OPTIONS preflight. 2) The server responds allowing the upload. 3) We send the HTTP PUT with the data. 4) The server drops the connection on us (closes the socket, in particular), which we treat as a CORS failure (because CORS says that network errors should be considered failures and should not expose information to the caller). The real issue here is that the server is dropping the connection. Why is it doing that, exactly? It's hard to tell, given the SSL business how what we're sending differs from what Chrome is sending, assuming it does....
Component: DOM → Networking
Updated•10 years ago
|
Summary: CORS issue dependent on filename being uploaded → promethease.com drops the connection if "AB'CDEFG5" is used as the filename
Comment 2•10 years ago
|
||
Note that it's something particular to the single quote character. Using "'.csv" as the filename triggers the same failure.
Updated•8 years ago
|
Whiteboard: [necko-backlog]
Comment 3•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 4•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment hidden (spam) |
Updated•4 years ago
|
Restrict Comments: true
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•