WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
74678
KURLGoogle to judge whether a url can be resolved
https://bugs.webkit.org/show_bug.cgi?id=74678
Summary
KURLGoogle to judge whether a url can be resolved
Deqing Huang
Reported
2011-12-15 19:47:06 PST
Currently KURLGoogle marks almost all urls as valid, including "
http://a
a/", which differs from KURL. Sometimes we need to know whether a url can be resolved. For example in case of
bug 46008
, XMLHttpRequest should check whether a url is valid before calling open().
Attachments
Treat "http://a a/" as an invalid URL
(958 bytes, patch)
2011-12-29 01:39 PST
,
Deqing Huang
abarth
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Deqing Huang
Comment 1
2011-12-29 01:39:27 PST
Created
attachment 120724
[details]
Treat "
http://a
a/" as an invalid URL
Adam Barth
Comment 2
2011-12-29 11:30:13 PST
Comment on
attachment 120724
[details]
Treat "
http://a
a/" as an invalid URL The code for GURL isn't stored in svn.webkit.org. It's stored
http://code.google.com/p/google-url/source/browse/#svn%2Ftrunk%2Fsrc
. You're welcome to submit this patch to that repository, but it probably won't be accepted.
Adam Barth
Comment 3
2011-12-29 11:31:26 PST
I'm closing this bug as invalid because it's a bug report against code outside of svn.webkit.org.
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