Title: [293508] trunk
Revision
293508
Author
[email protected]
Date
2022-04-27 07:11:34 -0700 (Wed, 27 Apr 2022)

Log Message

[GTK] Add user agent quirk for "ClicSalud+" (Andalusian Health Service, Spain)
https://bugs.webkit.org/show_bug.cgi?id=239763

Patch by Michael Catanzaro <[email protected]> on 2022-04-27
Reviewed by Adrian Perez de Castro.

* Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
(TestWebKitAPI::TEST):
* Source/WebCore/platform/UserAgentQuirks.cpp:
(WebCore::urlRequiresMacintoshPlatform):

Canonical link: https://commits.webkit.org/250039@main

Modified Paths

Diff

Modified: trunk/Source/WebCore/platform/UserAgentQuirks.cpp (293507 => 293508)


--- trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2022-04-27 13:16:03 UTC (rev 293507)
+++ trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2022-04-27 14:11:34 UTC (rev 293508)
@@ -119,6 +119,12 @@
         || domain == "exchange.tu-berlin.de")
         return true;
 
+    // https://www.sspa.juntadeandalucia.es/servicioandaluzdesalud/clicsalud/pages/portada.jsf
+    // Andalusian Health Service discriminates against WebKitGTK's standard user
+    // agent with an unsupported browser warning.
+    if (domain == "www.sspa.juntadeandalucia.es")
+        return true;
+
     return false;
 }
 

Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp (293507 => 293508)


--- trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2022-04-27 13:16:03 UTC (rev 293507)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2022-04-27 14:11:34 UTC (rev 293508)
@@ -104,6 +104,7 @@
     assertUserAgentForURLHasMacPlatformQuirk("http://outlook.office.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://mail.ntu.edu.tw/");
     assertUserAgentForURLHasMacPlatformQuirk("http://exchange.tu-berlin.de/");
+    assertUserAgentForURLHasMacPlatformQuirk("http://www.sspa.juntadeandalucia.es/");
 
     assertUserAgentForURLHasEmptyQuirk("http://accounts.google.com/");
     assertUserAgentForURLHasEmptyQuirk("http://docs.google.com/");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to