[Webkit-unassigned] [Bug 41345] New: Parameter names in frame src URLs parsed incorrectly if resembles HTML entity code followed by underscore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 29 05:52:21 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41345

           Summary: Parameter names in frame src URLs parsed incorrectly
                    if resembles HTML entity code followed by underscore
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: i5ivem+webkitbugzilla at gmail.com
                CC: eric at webkit.org, abarth at webkit.org, tonyg at chromium.org


Created an attachment (id=60014)
 --> (https://bugs.webkit.org/attachment.cgi?id=60014)
Test case showing error.

(Note, originally filed as Issue 47509 on Chromium Issues, but then I read about Chrome using the new HTML5 parser in the Chromium-dev Google group, so verified with webkit nightly (r61877) and it is indeed a webkit bug).

Chrome Version       : 6.0.447.0 (Official Build 50594) dev
URLs (if applicable) : See attached file
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
          Safari 5: OK
  Firefox 3.7a6pre: OK
              IE 6: OK


What steps will reproduce the problem?
1. Open up the attached webpage
2. Developer Tools > Elements will show the first paramter of the URL for the bottom frame as "setno=0∏_id="
3. View source on the page, or viewing the attached file in a text editor will show the first parameters as "setno=0&prod_id="

What is the expected result?

The URL parameters should be parsed correctly

What happens instead?

Parsed incorrectly.


Please provide any additional information below. Attach a screenshot if
possible.

The attached file is based on an internal intranet page of the company I work for. I have just changed the URLs to something that will load for everyone (google search), but have included the parameter from the intranet page as a dummy parameter to the google search.

This issue is new with 6.0.447.0. As it was working correctly in the previous build.

In testing this parsing error seems to be caused if a parameter name resembles a HTML entity code (i.e. just missing the semi-colon) followed by an underscore:

E.g: 

&pound_id  => £_id
&amp_id => &_id
&quot_id => "_id

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list