Kak skachuvat' fail 'File name.pdf' a ne 'File%20name.pdf'

sherwood nginx-forum at nginx.us
Fri Oct 18 11:56:08 UTC 2013


Solved!

add_header Content-Type "application/octet-stream";
set_by_lua $filename "return ngx.decode_base64(ngx.var['arg_f'])";
add_header Content-disposition "attachment; filename=\"$filename\"";

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,243816,243823#msg-243823



Подробная информация о списке рассылки nginx-ru