# HG changeset patch # User mpm@selenic.com # Date 1120152131 28800 # Node ID b8404005d6d5345c717fed50cc6c946f4faa8d45 # Parent 2e9698a5c92cf2e09eb716065d02e7aebc669904 [PATCH] Generate correctly XML entities for obfuscated user -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Generate correctly XML entities for obfuscated user From: Edouard Gomez manifest hash: 8e4e2d087ff60020c948d34e724fca99c84a9115 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxCpDywK+sNU5EO8RAs6yAKCy97yrMO6VYlkRIF3diLoGClZSOgCfekPE ttPsLRoDTH12Tv6omFg6uUA= =8ZBC -----END PGP SIGNATURE----- diff -r 2e9698a5c92c -r b8404005d6d5 mercurial/hgweb.py --- a/mercurial/hgweb.py Thu Jun 30 08:47:31 2005 -0800 +++ b/mercurial/hgweb.py Thu Jun 30 09:22:11 2005 -0800 @@ -43,7 +43,7 @@ return text.replace('\n', '
\n') def obfuscate(text): - return ''.join([ '&#%d' % ord(c) for c in text ]) + return ''.join([ '&#%d;' % ord(c) for c in text ]) def up(p): if p[0] != "/": p = "/" + p