From d45b54f93429cb6942795db791f3c203df720124 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Wed, 20 Oct 1999 04:27:40 +0000 Subject: Need to value_quote() things that go into VALUE attributes in HTML. --- editcomponents.cgi | 33 ++++++++++++++++++++++----------- editproducts.cgi | 16 ++++++++++++---- editversions.cgi | 15 ++++++++++----- 3 files changed, 44 insertions(+), 20 deletions(-) diff --git a/editcomponents.cgi b/editcomponents.cgi index 322cd2c27..83381fe7e 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -110,21 +110,26 @@ sub EmitFormElements ($$$$$) my ($product, $component, $initialowner, $initialqacontact, $description) = @_; print " Component:\n"; - print " \n"; - print " \n"; + print " \n"; + print " \n"; print "\n"; print " Description:\n"; - print " \n"; + print " \n"; print "\n"; print " Initial owner:\n"; - print " \n"; + print " \n"; if (Param('useqacontact')) { print "\n"; print " Initial QA contact:\n"; - print " \n"; + print " \n"; } } @@ -522,8 +527,10 @@ one."; print "
\n"; print "\n"; print "\n"; - print "\n"; - print "\n"; + print "\n"; + print "\n"; print "
"; PutTrailer($localtrailer); @@ -632,10 +639,14 @@ if ($action eq 'edit') { print "\n\n"; - print "\n"; - print "\n"; - print "\n"; - print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; print "\n"; print "\n"; diff --git a/editproducts.cgi b/editproducts.cgi index 293c6967d..c70e80994 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -66,6 +66,9 @@ sub EmitFormElements ($$$$) { my ($product, $description, $milestoneurl, $disallownew) = @_; + $product = value_quote($product); + $description = value_quote($description); + print " Product:\n"; print " \n"; print "\n"; @@ -74,6 +77,7 @@ sub EmitFormElements ($$$$) print " \n"; if (Param('usetargetmilestone')) { + $milestoneurl = value_quote($milestoneurl); print "\n"; print " Milestone URL:\n"; print " \n"; @@ -397,7 +401,8 @@ one."; print "
\n"; print "\n"; print "\n"; - print "\n"; + print "\n"; print "
"; PutTrailer($localtrailer); @@ -544,9 +549,12 @@ if ($action eq 'edit') { print "\n\n"; - print "\n"; - print "\n"; - print "\n"; + print "\n"; + print "\n"; + print "\n"; print "\n"; print "\n"; print "\n"; diff --git a/editversions.cgi b/editversions.cgi index 7ac8032b2..09196d2f8 100755 --- a/editversions.cgi +++ b/editversions.cgi @@ -100,8 +100,10 @@ sub EmitFormElements ($$) my ($product, $version) = @_; print " Version:\n"; - print " \n"; - print " \n"; + print " \n"; + print " \n"; } @@ -383,8 +385,10 @@ one."; print "
\n"; print "\n"; print "\n"; - print "\n"; - print "\n"; + print "\n"; + print "\n"; print "
"; PutTrailer($localtrailer); @@ -467,7 +471,8 @@ if ($action eq 'edit') { print "\n"; - print "\n"; + print "\n"; print "\n"; print "\n"; -- cgit v1.2.3-24-g4f1b