Title: [208905] trunk/Tools
- Revision
- 208905
- Author
- achristen...@apple.com
- Date
- 2016-11-18 15:50:08 -0800 (Fri, 18 Nov 2016)
Log Message
Fix API test after r208902
https://bugs.webkit.org/show_bug.cgi?id=144194
* TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
(TestWebKitAPI::TEST):
The fullwidth solidus, U+FF0F, changed encoding from IDN2003 to IDN2008, probably to prevent domains from using it
to spoof other domains. https://webkit.org/blog/ and https://webkit.org\uFF0Fblog/ would otherwise look
too similar when rendered.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (208904 => 208905)
--- trunk/Tools/ChangeLog 2016-11-18 23:35:28 UTC (rev 208904)
+++ trunk/Tools/ChangeLog 2016-11-18 23:50:08 UTC (rev 208905)
@@ -1,3 +1,14 @@
+2016-11-18 Alex Christensen <achristen...@webkit.org>
+
+ Fix API test after r208902
+ https://bugs.webkit.org/show_bug.cgi?id=144194
+
+ * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
+ (TestWebKitAPI::TEST):
+ The fullwidth solidus, U+FF0F, changed encoding from IDN2003 to IDN2008, probably to prevent domains from using it
+ to spoof other domains. https://webkit.org/blog/ and https://webkit.org\uFF0Fblog/ would otherwise look
+ too similar when rendered.
+
2016-11-17 Alex Christensen <achristen...@webkit.org>
Support IDN2008 with UTS #46 instead of IDN2003
Modified: trunk/Tools/TestWebKitAPI/Tests/Cocoa/URLExtras.mm (208904 => 208905)
--- trunk/Tools/TestWebKitAPI/Tests/Cocoa/URLExtras.mm 2016-11-18 23:35:28 UTC (rev 208904)
+++ trunk/Tools/TestWebKitAPI/Tests/Cocoa/URLExtras.mm 2016-11-18 23:50:08 UTC (rev 208905)
@@ -105,7 +105,7 @@
// Separate functions that deal with just a host name on its own.
EXPECT_STREQ("site.com/othersite.org", [WebCore::encodeHostName(@"site.com\xEF\xBC\x8Fothersite.org") UTF8String]);
- EXPECT_STREQ("site.com\xEF\xBC\x8Fothersite.org", [WebCore::decodeHostName(@"site.com\xEF\xBC\x8Fothersite.org") UTF8String]);
+ EXPECT_STREQ("site.com/othersite.org", [WebCore::decodeHostName(@"site.com\xEF\xBC\x8Fothersite.org") UTF8String]);
}
TEST(WebCore, URLExtras_Space)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes