2011-03-28 Maciej Stachowiak <mjs@apple.com>
[WebKit.git] / Source / WebCore / ChangeLog
index c7c870a74f5e42e20f8cdd38276ee58e96559df7..80fd0ab737f5148a119154dd9e4c9491f1143630 100644 (file)
@@ -1,3 +1,17 @@
+2011-03-28  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Dan Bernstein.
+
+        Assigning location.path to something that doesn't start with / mangles the authority
+        https://bugs.webkit.org/show_bug.cgi?id=57209
+        <rdar://problem/9195132>
+        
+        Tests: http/tests/uri/assign-path-with-leading-slash.html
+               http/tests/uri/assign-path-without-leading-slash.html
+
+        * platform/KURL.cpp:
+        (WebCore::KURL::setPath): If the new path does not have a leading slash, add one.
+
 2011-03-28  Ryosuke Niwa  <rniwa@webkit.org>
 
         Reviewed by Eric Seidel.