client sent invalid request while reading client request line

Maxim Dounin mdounin at mdounin.ru
Tue May 23 13:55:52 UTC 2017


Hello!

On Tue, May 23, 2017 at 09:43:32AM -0400, ismailyenigul wrote:

> Hi,
> 
> I have a node.js based ide running  nginx reverse proxy behind.
> When I try to upload a file with a Turkish characters, 
> nginx gives "client sent invalid request while reading client request line"
> and I see 400 Bad Request on browser console.
> 
> 
> request: "PUT /mypath/ismail123/1/9c3qajZ3mt5G35tt/ar%u0131c%u0131lar.txt
> 
> How can I let nginx to allow filename with encoding %uXXXX?

There is no easy way, though you can always try patching the code.  
Alternatively, fix the IDE to produce valid HTTP requests 
instead.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx mailing list