[Webkit-unassigned] [Bug 22975] New: Incorrect application of URL encoding to phrase typed into URL bar

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 23 00:47:04 PST 2008


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

           Summary: Incorrect application of URL encoding to phrase typed
                    into URL bar
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: apgardner at me.com


If a single word is typed into the URL bar and the return key pressed, ".com"
is appended to the word thus creating a legal domain name and everything is
peachy.

If two words are typed into the URL bar and the return key is pressed, the
space between them is URL encoded, then ".com" is appended to the ensuing
string and things then get all pear-shaped when the DNS is passed a domain with
an illegal "%" character within it.

This causes DNS errors which will confuse the user.

Either a hyphen should be substituted for the space, or the space stripped out
before the ".com" is added and the URL sent to DNS. The domain name part of the
URL should never have URL encoding applied to it.


-- 
Configure bugmail: https://bugs.webkit.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