]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch from Dhiren Patel <dhiren@nuvomedia.com> -- deal with products
authorterry%netscape.com <>
Fri, 26 Feb 1999 02:01:02 +0000 (02:01 +0000)
committerterry%netscape.com <>
Fri, 26 Feb 1999 02:01:02 +0000 (02:01 +0000)
that have spaces or other weird characters in them.

enter_bug.cgi

index 9b365152263f98b450d9c4ee380007b4c236547f..54745e45b2dec1159728958786bc039f75523dda 100755 (executable)
@@ -174,7 +174,7 @@ print "
 <FORM NAME=enterForm METHOD=POST ACTION=\"post_bug.cgi\">
 <INPUT TYPE=HIDDEN NAME=bug_status VALUE=NEW>
 <INPUT TYPE=HIDDEN NAME=reporter VALUE=$::COOKIE{'Bugzilla_login'}>
-<INPUT TYPE=HIDDEN NAME=product VALUE=$product>
+<INPUT TYPE=HIDDEN NAME=product VALUE=\""  . value_quote($product) . "\">
   <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0>
   <TR>
     <td ALIGN=right valign=top><B>Product:</B></td>