-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Uploading file with non ascii character cause parsing error #596
Comments
Hi, @kobe2000. Thanks for the report. |
I tested with ktor 0.94, 0.95, both errors:
|
What is your client? Is it browser? |
yes, it is firefox |
same issue with me, I used postman to upload a image whose name contains Chinese character. But when I renamed same image to an english name, it worked. |
Could you provide the name sample? It looks like an issue with charset decoder. |
@e5l sure, old: rsz_壁纸.jpg new: wallpaper.jpg
seems swallow my prefix string |
Encountered similar issues with Cyrillic filenames. Ktor version: Filename Stacktrace
FIlename: Stacktrace
|
We have the same issue with 1.0.0:
^^^ this is thrown when uploading with curl like this:
^^^ this is thrown when uploading the same file with the latest google chrome |
Fixed in 1.0.1 |
Hi, I use one file with Chinese file name to upload to ktor, the server report:
io.ktor.http.cio.ParserException: No HTTP header value provided for name 中文.png
The text was updated successfully, but these errors were encountered: