Code

gitweb: Quote filename in HTTP Content-Disposition: header
authorJakub Narebski <jnareb@gmail.com>
Mon, 25 Sep 2006 23:59:43 +0000 (01:59 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 27 Sep 2006 07:41:36 +0000 (00:41 -0700)
commitab41dfbfd4f3f9fedac71550027e9813b11abe3d
tree6a750670c1ddfb03570b85d87e3f1403708b477e
parentf93bff8d4531d19938a9afbdc28b8d8f4dc97b32
gitweb: Quote filename in HTTP Content-Disposition: header

Finish work started by commit a2f3db2 (although not documented
in commit message) of quoting using quotemeta the filename in
HTTP -content_disposition header.

Just in case filename contains end of line character.

Also use consistent coding style to compute -content_disposition
parameter.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl