Bug 590644 - CGI.pm popup_menu produces invalid HTML
CGI.pm popup_menu produces invalid HTML
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: perl (Show other bugs)
5.5
All Linux
high Severity high
: rc
: ---
Assigned To: Marcela Mašláňová
Petr Šplíchal
: EasyFix, Patch
Depends On:
Blocks: 771700 772019
  Show dependency treegraph
 
Reported: 2010-05-10 08:03 EDT by Martin Poole
Modified: 2016-05-31 21:39 EDT (History)
4 users (show)

See Also:
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 00:39:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to fix that matches upstream change. (511 bytes, patch)
2010-05-10 08:03 EDT, Martin Poole
no flags Details | Diff

  None (edit)
Description Martin Poole 2010-05-10 08:03:05 EDT
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.
Comment 3 RHEL Product and Program Management 2010-08-09 15:50:36 EDT
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.
Comment 5 RHEL Product and Program Management 2011-05-31 10:09:07 EDT
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.
Comment 13 Marcela Mašláňová 2011-09-26 03:29:24 EDT
    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.
Comment 17 errata-xmlrpc 2012-02-21 00:39:52 EST
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

Note You need to log in before you can comment on or make changes to this bug.