Re: gitweb: using quotemeta

From: Junio C Hamano <junkio@cox.net>
Date: 2006-10-07 15:08:03
Jakub Narebski <jnareb@gmail.com> writes:

> I'd rather add (and use) separate subroutine for quoting/escaping
> values in HTTP headers, or to be more exact for the filename part
> of HTTP header "Content-Disposition:". This way if we decide to
> not replace all characters outside US-ASCII in suggested filename
> to save with '?', but only qoublequote '"' and linefeed '\n' characters,
> or even implement RFC 2047 to do the encoding (of course if browsers
> can read it), we could do this in one place. 

Sounds sane.  quote_filename?

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Oct 07 15:08:23 2006

This archive was generated by hypermail 2.1.8 : 2006-10-07 15:09:09 EST