Always escape repository name in hgweb, very important in notfound.tmpl.
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 17 Nov 2005 19:11:13 +0100
changeset 1549 fbe4bbd847e5
parent 1548 18f3224da392
child 1553 4aeba581990b
Always escape repository name in hgweb, very important in notfound.tmpl.
templates/notfound.tmpl
templates/tags.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.
 
--- 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>