Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb.py @ 542:eda4c32c167a
Merge with upstream
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Merge with upstream
manifest hash: 78c3657547aa957be685a4d54462570eb4b5e181
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCxFpbW7P1GVgWeRoRAqWGAKCkLQPbZpdLCBWKD+pecMtTRiu9EACfbuz4
dtHuM/86dYZ6CRqQHohJVjk=
=v+Vv
-----END PGP SIGNATURE-----
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 30 Jun 2005 21:47:23 +0100 |
parents | 03f27b1381f9 ab0d1bfeee7c |
children | 4fc63e22b1fe |
line wrap: on
line diff
--- a/mercurial/hgweb.py Thu Jun 30 07:16:05 2005 +0100 +++ b/mercurial/hgweb.py Thu Jun 30 21:47:23 2005 +0100 @@ -43,7 +43,7 @@ return text.replace('\n', '<br/>\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 @@ -432,6 +432,9 @@ f = name.find('@') if f >= 0: name = name[:f] + f = name.find('<') + if f >= 0: + name = name[f+1:] bcache[r] = name if last != cnode: