From: Junio C Hamano Date: Fri, 03 Feb 2012 21:09:12 GMT Subject: Re: [PATCH/RFCv2 (version B)] gitweb: Allow UTF-8 encoded CGI query parameters and path_info Message-ID: <7vzkczmxon.fsf@alter.siamese.dyndns.org> In-Reply-To: <201202031344.55750.jnareb@gmail.com> Jakub Narebski writes: > Gitweb tries hard to properly process UTF-8 data, by marking output > from git commands and contents of files as UTF-8 with to_utf8() > subroutine. This ensures that gitweb would print correctly UTF-8 > e.g. in 'log' and 'commit' views. > > Unfortunately it misses another source of potentially Unicode input, > namely query parameters. The result is that one cannot search for a I think two lines should suffice instead of the above two paragraphs. Gitweb forgot to turn query parameters into UTF-8. This results in a bug that one cannot search for a > string containing characters outside US-ASCII. For example searching > ... The remainder explains the problem and the solution very well modulo minor typos. > Noticed-by: Michał Kiedrowicz > Signed-off-by: Jakub Narębski > --- We can add "Tested-by:" to this now. Will queue. Thanks.