[Webkit-unassigned] [Bug 11051] New: Javascript Image.src fails to request new image when the url domain contains uppercase letters.

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Sep 26 16:18:47 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=11051

           Summary: Javascript Image.src fails to request new image when the
                    url domain contains uppercase letters.
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mail at trentdavies.com


im = new Image(); im.src = my_url;

The above javascript code in certain conditions fails to perform an HTTP GET
when my_url is set to a domain with uppercase letters in it, as in
'http://www.apPle.com' instead of 'http://www.apple.com'.

This problem occurs in the onclick handler for a link that exits the current
page.

**The problem DOES NOT occur when my_url is all lowercase (i.e.
'http://www.apple.com'.**

I will attach a simple reduction test case to illustrate the problem.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list