-
Notifications
You must be signed in to change notification settings - Fork 853
Unnecessary quotes around encoded filename* parameter #8537
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
Comments
@a66298458 This doesn't look like an issue from Postman as it forwards the filename as-is. |
@codenirvana when i use this is the form data from web ui upload this is the form data from postman upload i think this is the key of the problem, but i can't find how to fixed that. |
@a66298458 I see no issue in the Which server/form-data body-parser are you using to process this? |
@codenirvana i use python flask webserver , the api is
|
@a66298458 I tried reproducing this issue using a flask server and looks like its body-parser is not able to process the Closing this issue as we are already tracking this feature request of disabling the |
@codenirvana I'm having this issue too. It happens specially when uploading a file whose name contains non-ASCII character (blue circle). Uploading from web-form or command line (using cURL or httpie) is fine. App info:
|
Looks like it happens specially to Flask and libraries built on top of it (Eve, Flask-RESTful...). I created another server with Sanic and the filename returned correctly. :) |
@itsjef As mentioned in #8537 (comment), Postman implements RFC 6266 which introduces this new A lot of body-parsers don't support this yet but if you check the
But looks like Flask's body-parser has a different way to extract the filename from the We are already tracking a feature request #8308 which will allow you to disable |
Actually, I think it is a bug in postman. Looking at the example:
And looking at the relevant RFCs (https://tools.ietf.org/html/rfc6266 & https://tools.ietf.org/html/rfc5987), I notice that
|
We had to delay the release of the app, I'm reopening this issue for now and will close it again once 7.35 is widely available. 🙂 |
Describe the bug
When I was using this app, I found that the file name I uploaded in the form would have a double quote symbol in the file name obtained in the back end
Screenshots

this is the app ui
this is python flask function request.files.get() get

Why is there a double quote after the file name?
App information:
Postman for windows desktop
7.24.0
windows 10 Professional version 1909
The text was updated successfully, but these errors were encountered: