[Bug]: Download filename will be cut up to the first comma #31662
Labels
15-x-y
bug 🪲
platform/all
status/confirmed
A maintainer reproduced the bug or agreed with the feature
Preflight Checklist
Electron Version
15.3.0
What operating system are you using?
Windows
Operating System Version
Windows 11 21H2 (22000.282)
What arch are you using?
x64
Last Known Working Electron version
latest 11, aka 11.5.0
Expected Behavior
Downloading a file with a comma in name should return full filename.
Actual Behavior
When the request is filtered with
onHeadersReceived
, the filename is cut up to the first comma.Testcase Gist URL
No response
Additional Information
The issue was first reported in #29346 but was closed because it was unable to reproduce it.
http.txt
Serve via ncat on port 1337
ncat -l 1337 < http.txt
Minimal Electron code:
The text was updated successfully, but these errors were encountered: