summaryrefslogtreecommitdiffstats
path: root/WebCore/html
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2009-11-17 18:08:16 +0000
committerBen Murdoch <benm@google.com>2009-11-18 10:28:05 +0000
commitc25170ac07bca506d74b9e6b060dbeca2e098f40 (patch)
treebf09082872f12827e275755fb66bb2eccd66ed0c /WebCore/html
parented6043358cfce2b3a20a5a4aace2ae99b5302200 (diff)
downloadexternal_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.cpp2
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)