Code

Quote ampersands in URLs.
authorstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 19 Feb 2009 21:52:35 +0000 (21:52 +0000)
committerstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 19 Feb 2009 21:52:35 +0000 (21:52 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4144 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/templating.py

index 36a0d916a54f7d58f3c37ebb80293846d32db05d..61a30fecdc3e87876e0d3fd90a31c769e25a21c0 100644 (file)
@@ -1737,7 +1737,7 @@ class DateHTMLProperty(HTMLProperty):
         else :
             date = ""
         return ('<a class="classhelp" href="javascript:help_window('
-            "'%s?@template=calendar&property=%s&form=%s%s', %d, %d)"
+            "'%s?@template=calendar&amp;property=%s&amp;form=%s%s', %d, %d)"
             '">%s</a>'%(self._classname, self._name, form, date, width,
             height, label))