diff options
author | Ben Murdoch <benm@google.com> | 2009-11-17 18:08:16 +0000 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2009-11-18 10:28:05 +0000 |
commit | c25170ac07bca506d74b9e6b060dbeca2e098f40 (patch) | |
tree | bf09082872f12827e275755fb66bb2eccd66ed0c /WebCore/html | |
parent | ed6043358cfce2b3a20a5a4aace2ae99b5302200 (diff) | |
download | external_webkit-c25170ac07bca506d74b9e6b060dbeca2e098f40.zip external_webkit-c25170ac07bca506d74b9e6b060dbeca2e098f40.tar.gz external_webkit-c25170ac07bca506d74b9e6b060dbeca2e098f40.tar.bz2 |
Remove leading/trailing newlines and tabs as well as spaces from URLs.
Change-Id: I0248ac1597fb0289ff34c346e6f92b3bd507ee39
Diffstat (limited to 'WebCore/html')
-rw-r--r-- | WebCore/html/HTMLAnchorElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLAnchorElement.cpp b/WebCore/html/HTMLAnchorElement.cpp index 968f144..f735104 100644 --- a/WebCore/html/HTMLAnchorElement.cpp +++ b/WebCore/html/HTMLAnchorElement.cpp @@ -316,7 +316,7 @@ bool HTMLAnchorElement::draggable() const KURL HTMLAnchorElement::href() const { - return document()->completeURL(getAttribute(hrefAttr)); + return document()->completeURL(deprecatedParseURL(getAttribute(hrefAttr))); } void HTMLAnchorElement::setHref(const AtomicString& value) |