WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
22975
Incorrect application of URL encoding to phrase typed into URL bar
https://bugs.webkit.org/show_bug.cgi?id=22975
Summary
Incorrect application of URL encoding to phrase typed into URL bar
A Gardner
Reported
2008-12-23 00:47:04 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2008-12-24 01:26:44 PST
Address bar behavior is part of Safari, not open source WebKit. Marking INVALID per our process, please file a bug via <
http://bugreport.apple.com
> for Apple engineers to investigate.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug