Re: [PATCH] gitweb: Improve diffs when filenames contain problem characters

2014-04-03 Thread Jakub Narębski
[Forgot to hit Reply-to-all instead of Reply. Andrew, I'm sorry for duplicate email] On Sat, Mar 29, 2014 at 2:53 PM, Andrew Keller wrote: > > When formatting a diff header line, be sure to escape the raw output from git > for use as HTML. This ensures that when "problem characters" (&, <, >, ?,

[PATCH] gitweb: Improve diffs when filenames contain problem characters

2014-03-30 Thread Andrew Keller
When formatting a diff header line, be sure to escape the raw output from git for use as HTML. This ensures that when "problem characters" (&, <, >, ?, etc.) exist in filenames, gitweb displays them as text, rather than letting the browser interpret them as HTML. Reported-by: Dongsheng Song Sign