summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/platform/KURL.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/WebCore/platform/KURL.cpp b/WebCore/platform/KURL.cpp
index 380cb41..16b84b5 100644
--- a/WebCore/platform/KURL.cpp
+++ b/WebCore/platform/KURL.cpp
@@ -1295,13 +1295,6 @@ void KURL::parse(const char* url, const String* originalString)
if (m_protocolInHTTPFamily && hierarchical && pathEnd == pathStart)
*p++ = '/';
-#if PLATFORM(ANDROID)
- // Remove any trailing '.' from base, in order to conform to RFC 3986 section 5.4
- if (p[-1] == '.') {
- p--;
- }
-#endif /* PLATFORM(ANDROID) */
-
// add path, escaping bad characters
if (!hierarchical || !hasSlashDotOrDotDot(url))
appendEscapingBadChars(p, url + pathStart, pathEnd - pathStart);