[crew] Always escape repository name in hgweb

Thomas Arendsen Hein thomas at intevation.de
Thu Nov 17 18:15:31 UTC 2005


New changeset in mercurial/crew:

# HG changeset patch
# User Thomas Arendsen Hein <thomas at intevation.de>
# Node ID fbe4bbd847e5aa0b95039a833252bbd896dfd9a8
# Parent  18f3224da392089433211ce40090dbfda2c44a7b
Always escape repository name in hgweb, very important in notfound.tmpl.

diff -r 18f3224da392 -r fbe4bbd847e5 templates/notfound.tmpl
--- a/templates/notfound.tmpl	Wed Nov 16 20:53:16 2005 +0100
+++ b/templates/notfound.tmpl	Thu Nov 17 19:11:13 2005 +0100
@@ -5,7 +5,7 @@
 
 <h2>Mercurial Repositories</h2>
 
-The specified repository "#repo#" is unknown, sorry.
+The specified repository "#repo|escape#" is unknown, sorry.
 
 Please go back to the main repository list page.
 
diff -r 18f3224da392 -r fbe4bbd847e5 templates/tags.tmpl
--- a/templates/tags.tmpl	Wed Nov 16 20:53:16 2005 +0100
+++ b/templates/tags.tmpl	Thu Nov 17 19:11:13 2005 +0100
@@ -1,5 +1,5 @@
 #header#
-<title>#repo#: tags</title>
+<title>#repo|escape#: tags</title>
 </head>
 <body>
 

-- 
Repository URL: http://hg.intevation.org/mercurial/crew



More information about the Mercurial mailing list