Welcome! Log In Create A New Profile

Advanced

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

Lukas Tribus
March 24, 2014 03:44PM
FYI, nginx has not problems passing filenames with spaces along:


# curl -I http://direct-apache/content-disposition-header.php
HTTP/1.1 200 OK
Date: Mon, 24 Mar 2014 19:40:22 GMT
Server: Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4
X-Powered-By: PHP/5.4.4
Cache-Control: no-store, no-cache
Connection: keep-alive
Content-Disposition: attachment; filename="zcs error.docx"
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; name="zcs error.docx"


# curl -I "http://nginx-rev-proxying/content-disposition-header.php"
HTTP/1.1 200 OK
Server: nginx/1.4.7
Date: Mon, 24 Mar 2014 19:41:03 GMT
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; name="zcs error.docx"
Connection: keep-alive
X-Powered-By: PHP/5.4.4
Cache-Control: no-store, no-cache
Content-Disposition: attachment; filename="zcs error.docx"
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Kunal Pariani March 23, 2014 06:38PM

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

Lukas Tribus March 23, 2014 08:08PM

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

Kunal Pariani March 23, 2014 10:12PM

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

vesperto March 24, 2014 06:34AM

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

Lukas Tribus March 24, 2014 06:58AM

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

Kunal Pariani March 24, 2014 01:48PM

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

Lukas Tribus March 24, 2014 02:18PM

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

Kunal Pariani March 24, 2014 02:36PM

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

Lukas Tribus March 24, 2014 03:00PM

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

Lukas Tribus March 24, 2014 03:44PM

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

Kunal Pariani March 24, 2014 04:18PM

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

Lukas Tribus March 24, 2014 05:10PM

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

Kunal Pariani March 24, 2014 05:28PM

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

Lukas Tribus March 24, 2014 05:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready