Skip to content

Conversation

@abram
Copy link

@abram abram commented Apr 13, 2011

Hi,

This little change tweaks the filename-matching regex to allow for filenames with semicolons. Currently the presence of a semicolon in the file name makes the filename regex not match, so part.filename doesn't get set, which makes the test in incoming_form line 147 return false, so it applies the maxFieldsSize check. I noticed this because my server was throwing an error when trying to upload a large podcast file.

Thanks for the nice library, it's been very helpful for my app Listening Room (http://listeningroom.net).

@felixge
Copy link
Collaborator

felixge commented Apr 13, 2011

Hi, I won't be able to merge this right away as this breaks an existing test showing an upload issue with quotes in filenames in IE. I'll look for a proper solution in the parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants