<rdar://problem/5647272> Remove user agent string hack for flickr.com
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Dec 2007 02:16:20 +0000 (02:16 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Dec 2007 02:16:20 +0000 (02:16 +0000)
        Reviewed by Darin.

        * WebView/WebView.mm:
        (-[WebView _userAgentForURL:]): Removed hack.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28735 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/mac/ChangeLog
WebKit/mac/WebView/WebView.mm

index 657d000241b444b76b62cc42d222a584c548a39f..bf0cb681e749b632c910119455504a90f5edbddd 100644 (file)
@@ -1,3 +1,12 @@
+2007-12-14  David D. Kilzer  <ddkilzer@apple.com>
+
+        <rdar://problem/5647272> Remove user agent string hack for flickr.com
+
+        Reviewed by Darin.
+
+        * WebView/WebView.mm:
+        (-[WebView _userAgentForURL:]): Removed hack.
+
 2007-12-14  David D. Kilzer  <ddkilzer@apple.com>
 
         <rdar://problem/5647261> Remove user agent string hack for yahoo.com
index 8153900cf39dd1183b474b29c42e56822c55be12..423b3e20fc8dde6d721602da7d7b7aa1a5804aa2 100644 (file)
@@ -4119,12 +4119,7 @@ static NSString *createMacOSXVersionString()
 - (WebCore::String)_userAgentForURL:(const WebCore::KURL&)url
 {
     if (_private->useSiteSpecificSpoofing) {
-        // FIXME: Remove flickr.com workaround once <rdar://problem/5081617> is fixed
-        if (url.host().endsWith("flickr.com")) {
-            // Safari 2.0.4's user agent string works here
-            static String safari204UserAgent([self _userAgentWithApplicationName:@"Safari/419.3" andWebKitVersion:@"419"]);
-            return safari204UserAgent;
-        }
+        // No current site-specific spoofs.
     }
     
     if (_private->userAgent->isNull()) {