git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Invalid html output repo.or.cz (alt-git.git)

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 16, 2008, 19:52 UTC
Message-ID
<m3lk5kbry3.fsf@localhost.localdomain>
In-Reply-To
<20080216130037.GA14571@auto.tuwien.ac.at>
Martin Koegler <mkoegler@auto.tuwien.ac.at> writes:
Show 8 quoted lines
> http://repo.or.cz/w/alt-git.git?a=shortlog
> 
> fails to load in my Seamonkey browser (Debian stable):
> 
> XML Parsing Error: not well-formed
> Location: http://repo.or.cz/w/alt-git.git?a=shortlog
> Line Number 561, Column 33:<td><i><span title="Uwe Kleine-K<span class="cntrl">\e</span>,Av<span class="cntrl">\e</span>(Bnig">Uwe Kleine ...</span></i></td>
> --------------------------------^

It looks like gitweb uses esc_html instead of esc_param (or leaving it to CGI module) title attribute of span (?) element in a shortlog.

I'd try to fix this bug.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “Invalid html output repo.or.cz (alt-git.git)”
  1. Martin KoeglerFeb 16, 2008
  2. Junio C HamanoFeb 16, 2008
  3. Jakub NarebskiFeb 16, 2008
  4. Junio C HamanoFeb 16, 2008
  5. gitweb: Fix displaying unchopped argument in chop_and_escape_strJakub Narebski, Feb 16, 2008
  6. Robert SchieleFeb 16, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.