Title: [166405] trunk/Source
- Revision
- 166405
- Author
- commit-qu...@webkit.org
- Date
- 2014-03-28 07:18:46 -0700 (Fri, 28 Mar 2014)
Log Message
[GTK] Too many redirects visiting www.globalforestwatch.org
https://bugs.webkit.org/show_bug.cgi?id=129681
Patch by Diego Pino Garcia <dp...@igalia.com> on 2014-03-28
Reviewed by Martin Robinson.
Source/WebCore:
* platform/gtk/UserAgentGtk.cpp:
(WebCore::standardUserAgent): Append Safari version to UserAgent
string.
Source/WebKit/gtk:
* webkit/webkitwebsettings.cpp:
(userAgentForURL): Change outdated comment.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (166404 => 166405)
--- trunk/Source/WebCore/ChangeLog 2014-03-28 14:08:05 UTC (rev 166404)
+++ trunk/Source/WebCore/ChangeLog 2014-03-28 14:18:46 UTC (rev 166405)
@@ -1,3 +1,14 @@
+2014-03-28 Diego Pino Garcia <dp...@igalia.com>
+
+ [GTK] Too many redirects visiting www.globalforestwatch.org
+ https://bugs.webkit.org/show_bug.cgi?id=129681
+
+ Reviewed by Martin Robinson.
+
+ * platform/gtk/UserAgentGtk.cpp:
+ (WebCore::standardUserAgent): Append Safari version to UserAgent
+ string.
+
2014-03-28 Michael Saboff <msab...@apple.com>
Unreviewed, rolling r166249 back in.
Modified: trunk/Source/WebCore/platform/gtk/UserAgentGtk.cpp (166404 => 166405)
--- trunk/Source/WebCore/platform/gtk/UserAgentGtk.cpp 2014-03-28 14:08:05 UTC (rev 166404)
+++ trunk/Source/WebCore/platform/gtk/UserAgentGtk.cpp 2014-03-28 14:18:46 UTC (rev 166405)
@@ -70,7 +70,7 @@
// wrong can cause sites to load the wrong _javascript_, CSS, or custom fonts. In some cases
// sites won't load resources at all.
DEPRECATED_DEFINE_STATIC_LOCAL(const CString, uaVersion, (String::format("%i.%i", USER_AGENT_GTK_MAJOR_VERSION, USER_AGENT_GTK_MINOR_VERSION).utf8()));
- DEPRECATED_DEFINE_STATIC_LOCAL(const String, staticUA, (String::format("Mozilla/5.0 (Macintosh; %s) AppleWebKit/%s (KHTML, like Gecko) Safari/%s",
+ DEPRECATED_DEFINE_STATIC_LOCAL(const String, staticUA, (String::format("Mozilla/5.0 (Macintosh; %s) AppleWebKit/%s (KHTML, like Gecko) Safari/%s Version/6.0",
platformVersionForUAString().utf8().data(), uaVersion.data(), uaVersion.data())));
if (applicationName.isEmpty())
Modified: trunk/Source/WebKit/gtk/ChangeLog (166404 => 166405)
--- trunk/Source/WebKit/gtk/ChangeLog 2014-03-28 14:08:05 UTC (rev 166404)
+++ trunk/Source/WebKit/gtk/ChangeLog 2014-03-28 14:18:46 UTC (rev 166405)
@@ -1,3 +1,13 @@
+2014-03-28 Diego Pino Garcia <dp...@igalia.com>
+
+ [GTK] Too many redirects visiting www.globalforestwatch.org
+ https://bugs.webkit.org/show_bug.cgi?id=129681
+
+ Reviewed by Martin Robinson.
+
+ * webkit/webkitwebsettings.cpp:
+ (userAgentForURL): Change outdated comment.
+
2014-03-25 Martin Robinson <mrobin...@igalia.com>
[GTK] Remove the autotools build
Modified: trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp (166404 => 166405)
--- trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp 2014-03-28 14:08:05 UTC (rev 166404)
+++ trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp 2014-03-28 14:18:46 UTC (rev 166405)
@@ -1613,7 +1613,7 @@
static String userAgentForURL(const URL& url)
{
// For Google domains, drop the browser's custom User Agent string, and use the
- // standard Chrome one, so they don't give us a broken experience.
+ // standard one, so they don't give us a broken experience.
if (isGoogleDomain(url.host()))
return standardUserAgent();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes