amphp/http-server-form-parser

the postman upload file error

Opened this issue · 5 comments

Unexpected Amp\Http\Server\FormParser\ParseException thrown from RequestHandler::handleRequest(), falling back to error handler. { "exception": {} }

Can you please include a minimal example of the server code and the whole request sent by the client?

server code:https://github.com/xtrime-ru/TelegramApiServer

the postman photo:
image

The test found that if the uploaded file name contains Chinese, there will be an error when submitting in postman, and the English file name is normal

That's a good observation! Would you like to work on a fix and submit a pull request?

Sorry, I only use it at the moment, but if I want to debug and modify it, I may not be able to