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