Created attachment 361356 [details] Proposed patch Description of problem: CGI::popup_menu does not generated correct HTML if the default option contains a plus-sign ("+"). Version-Release number of selected component (if applicable): perl-5.8.8-27.el5 How reproducible: Every time Steps to Reproduce: perl -MCGI -e 'print CGI::popup_menu(-values=>[CGI::optgroup(-name=>"A",-values=>["a","b+"])],-default=>"b+")'; Actual results: <select name="" > <optgroup label="A"> <option value="a">a</option> <option value="b+">b+</option> </optgroup> Expected results: <select name="" > <optgroup label="A"> <option value="a">a</option> <option selected="selected" value="b+">b+</option> </optgroup> </select> Additional info: Proposed patch submitted by Ian Page Hands with help from #raleigh.pm on irc.perl.org, is attached and has been accepted upstream: http://rt.cpan.org/Public/Bug/Display.html?id=49606#txn-663058
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause CGI::popup_menu does not generated correct HTML if the default option contains a plus-sign ("+"). Consequence There could be missing closing tag. Fix Fix of regular expression fixed generation of HTML code. Result Closing tags are generated allright.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0199.html