Changeset 166405 in webkit


Ignore:
Timestamp:
Mar 28, 2014 7:18:46 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Too many redirects visiting www.globalforestwatch.org
https://bugs.webkit.org/show_bug.cgi?id=129681

Patch by Diego Pino Garcia <Diego Pino Garcia> 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.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r166404 r166405  
     12014-03-28  Diego Pino Garcia  <dpino@igalia.com>
     2
     3        [GTK] Too many redirects visiting www.globalforestwatch.org
     4        https://bugs.webkit.org/show_bug.cgi?id=129681
     5
     6        Reviewed by Martin Robinson.
     7
     8        * platform/gtk/UserAgentGtk.cpp:
     9        (WebCore::standardUserAgent): Append Safari version to UserAgent
     10        string.
     11
    1122014-03-28  Michael Saboff  <msaboff@apple.com>
    213
  • trunk/Source/WebCore/platform/gtk/UserAgentGtk.cpp

    r165676 r166405  
    7171    // sites won't load resources at all.
    7272    DEPRECATED_DEFINE_STATIC_LOCAL(const CString, uaVersion, (String::format("%i.%i", USER_AGENT_GTK_MAJOR_VERSION, USER_AGENT_GTK_MINOR_VERSION).utf8()));
    73     DEPRECATED_DEFINE_STATIC_LOCAL(const String, staticUA, (String::format("Mozilla/5.0 (Macintosh; %s) AppleWebKit/%s (KHTML, like Gecko) Safari/%s",
     73    DEPRECATED_DEFINE_STATIC_LOCAL(const String, staticUA, (String::format("Mozilla/5.0 (Macintosh; %s) AppleWebKit/%s (KHTML, like Gecko) Safari/%s Version/6.0",
    7474        platformVersionForUAString().utf8().data(), uaVersion.data(), uaVersion.data())));
    7575
  • trunk/Source/WebKit/gtk/ChangeLog

    r166239 r166405  
     12014-03-28  Diego Pino Garcia  <dpino@igalia.com>
     2
     3        [GTK] Too many redirects visiting www.globalforestwatch.org
     4        https://bugs.webkit.org/show_bug.cgi?id=129681
     5
     6        Reviewed by Martin Robinson.
     7
     8        * webkit/webkitwebsettings.cpp:
     9        (userAgentForURL): Change outdated comment.
     10
    1112014-03-25  Martin Robinson  <mrobinson@igalia.com>
    212
  • trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp

    r164438 r166405  
    16141614{
    16151615    // For Google domains, drop the browser's custom User Agent string, and use the
    1616     // standard Chrome one, so they don't give us a broken experience.
     1616    // standard one, so they don't give us a broken experience.
    16171617    if (isGoogleDomain(url.host()))
    16181618        return standardUserAgent();
Note: See TracChangeset for help on using the changeset viewer.