<rdar://problem/63511613>
Created attachment 400614 [details] Patch
Comment on attachment 400614 [details] Patch Way insufficient coverage of Yahoo TLDs
Created attachment 400625 [details] Take 2
Comment on attachment 400625 [details] Take 2 View in context: https://bugs.webkit.org/attachment.cgi?id=400625&action=review > Source/WebCore/page/Quirks.cpp:826 > + m_shouldAvoidPastingImagesAsWebContent = host.startsWith("mail.") && topPrivatelyControlledDomain(host).startsWith("yahoo."); Since this is a hostname, do you need to use startsWithIgnoringASCIICase instead? Or does URL do some sort of lowercase canonicalization?
Comment on attachment 400625 [details] Take 2 Feel free to cq+ again if startsWithIgnoringASCIICase isn't needed.
(In reply to Andy Estes from comment #5) > Comment on attachment 400625 [details] > Take 2 > > Feel free to cq+ again if startsWithIgnoringASCIICase isn't needed. Good catch — I think the host name check should use startsWithIgnoringASCIICase.
Committed r262323: <https://trac.webkit.org/changeset/262323>