Bug 590644
Summary: | CGI.pm popup_menu produces invalid HTML | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Martin Poole <mpoole> | ||||
Component: | perl | Assignee: | Marcela Mašláňová <mmaslano> | ||||
Status: | CLOSED ERRATA | QA Contact: | Petr Šplíchal <psplicha> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.5 | CC: | avettath, ohudlick, ppisar, psplicha | ||||
Target Milestone: | rc | Keywords: | EasyFix, Patch | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | perl-5.8.8-38.el5 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause
The popup_menu call will generate invalid HTML.
Consequence
Invalid HTML is lacking a space.
Fix
Regular expression was fixed.
Result
Correct HTML with spaces on correct places.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-02-21 05:39:52 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 771700, 772019 | ||||||
Attachments: |
|
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. 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 The popup_menu call will generate invalid HTML. Consequence Invalid HTML is lacking a space. Fix Regular expression was fixed. Result Correct HTML with spaces on correct places. 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 |
Created attachment 412808 [details] patch to fix that matches upstream change. Description of problem: the popup_menu call generate invalid HTML lacking a space Version-Release number of selected component (if applicable): perl-5.8.8-27.el5 How reproducible: Always Steps to Reproduce: perl -MCGI -e 'print CGI::popup_menu(-name=>"test", -class=>"class_name", -values => ["one", '"two"], -attributes=> { one => { -title => "the_title"} } ),"\n";' Actual results: <select name="test" class="class_name"> <option title="the_title"value="one">one</option> <option value="two">two</option> </select> Expected results: <select name="test" class="class_name"> <option title="the_title" value="one">one</option> <option value="two">two</option> </select> Additional info: Already fixed upstream.