nginx throws a 502 (invalid header) when downloading a file attachment if filename has a space character

Lukas Tribus luky-37 at
Mon Mar 24 18:59:25 UTC 2014


> I downloaded another file and the Content-Disposition header lists the
> filename with space under quotes correctly "zcs error.docx" thereby
> proving that its nginx which is not parsing it correctly. Correct me if
> i am wrong.

Is this specific response going through nginx or directly from the browser
to the backend?

Enable debugging logs and collect the traces:



More information about the nginx mailing list