[Python-projects] [patch] Hgview should escape untrusted strings

David Douard david.douard at logilab.fr
Wed Jul 15 08:48:34 CEST 2009


On Monday 13 July 2009 05:50:50 you wrote:
> Hello,

Hi,

> I'm using hgview and have fun with it, thanks. 

thank you, but please use the maling-list for this kind of message 
https://www.logilab.net/elo/mailinglist/850

> Hgview have annoying 
> bug: it "eates" angle brackets.
> If changeset have commit message like "Document changes from
> <<changeset:f0af47d38a15>>, hgview display it (in textview_header)
> like "Document changes from >". I've fixed this behavior by adding
> escaping for untrusted strings (like author, commit message, etc).

Thank you very much, I'll integrate your patch ASAP. 

By the way, you can send hg bundles instead of raw patches.



-- 
David Douard                        LOGILAB, Paris (France), +33 1 45 32 03 12
Formations Python, Numpy, Debian :  http://www.logilab.fr/formations
Développement logiciel sur mesure : http://www.logilab.fr/services
Informatique scientifique :         http://www.logilab.fr/science


More information about the Python-Projects mailing list