We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When custom headers are included in parts, and those header names contain numbers, the multipart parser throws an exception:
Found non-alphanumeric character 49 in header at 92
Numbers are perfectly valid in header names and shouldn't be rejected.
Sample data to reproduce the issue (X-funky-header-1 triggers it):
b'''--b8825ae386be4fdc9644d87e392caad3\r\n Content-Type: text/plain; charset=utf-8\r\n X-funky-header-1: bar\r\n Content-Length: 6\r\n Content-Disposition: attachment; filename="secret.txt"; name="files"\r\n\r\n aaaaaa\r\n --b8825ae386be4fdc9644d87e392caad3--\r\n'''
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
When custom headers are included in parts, and those header names contain numbers, the multipart parser throws an exception:
Numbers are perfectly valid in header names and shouldn't be rejected.
Sample data to reproduce the issue (X-funky-header-1 triggers it):
The text was updated successfully, but these errors were encountered: