-
Notifications
You must be signed in to change notification settings - Fork 39
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
support to file upload(plugin) #33
Comments
Api: table_files = request.get_files() |
API:
|
Here is a patch to the master branch which adds basic multi-part form parsing capability (and so file uploads too). It's not implemented as a plugin and, frankly, I have no idea how that would even be done without extreme breaking changes. Unlike other parameters, files have more data than just their name and value, so they are stored in the post data as tables. The rest is as it were to maintain backwards-compatibility. Find in I do not recommend using this in production. I'm certain malicious input is still capable of crashing it, and there's not even a max file or max content size. At least it exists, which is more than can be said for the file uploading plugin. Looking for input on implementation, before this is polished and potentially pushed in. |
No description provided.
The text was updated successfully, but these errors were encountered: