-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not respecting quotes in headers #1397
Comments
Circumvented that in SABnzbd in a little clumsy way: |
In case anyone else is wondering how double quotes in filenames (e.g. |
Due to a bug in its header parsing, uploaded files could not contain semicolons. CherryPy bug: 1397
Originally reported by: Shy Pike (Bitbucket: shypike, GitHub: @shypike
When a header contains a value between quotes and that value contains a semicolon
";", the header will not be parsed properly.
Example from a "Content-Disposition" header:
The cause is cherrypy/lib/httputil.py, line 148, function parse().
That code is too simple, it splits in the middle of the file name.
The text was updated successfully, but these errors were encountered: