]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch inspired by Sam Ziegler <ziegler@mediaguaranty.com> -- deal
authorterry%netscape.com <>
Wed, 2 Sep 1998 04:01:44 +0000 (04:01 +0000)
committerterry%netscape.com <>
Wed, 2 Sep 1998 04:01:44 +0000 (04:01 +0000)
better with product names that have spaces or other weird stuff in them.

enter_bug.cgi

index 385714f545911e5f81d73ba8ba2a81179003d2a7..3bd675c50ec49456eb9e8824a5746619f9be0711 100755 (executable)
@@ -30,7 +30,7 @@ if {![info exists FORM(product)]} {
         
         puts "<H2>First, you must pick a product on which to enter a bug.</H2>"
         foreach p [lsort [array names versions]] {
-            puts "<a href=enter_bug.cgi?product=$p&$buffer>$p</a><br>"
+            puts "<a href=\"enter_bug.cgi?product=[url_quote $p]\"&$buffer>$p</a><br>"
         }
         exit
     }