Commit 059734cf authored by alp@webkit.org's avatar alp@webkit.org

2007-11-11 Alp Toker <alp@atoker.com>

        Reviewed by Mark Rowe.

        Mention Safari in the UserAgent string to improve site compatibility.

        Also bump the hard-coded AppleWebKit version number.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::composeUserAgent):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 06d70621
2007-11-11 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
Mention Safari in the UserAgent string to improve site compatibility.
Also bump the hard-coded AppleWebKit version number.
* WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::composeUserAgent):
2007-11-09 Xan Lopez <xan@gnome.org>
Reviewed by Alp.
......
......@@ -126,7 +126,13 @@ static String composeUserAgent()
// WebKit Product
// FIXME: The WebKit version is hardcoded
ua += "AppleWebKit/523+ (KHTML, like Gecko) ";
static const String webKitVersion = "525.1+";
ua += "AppleWebKit/" + webKitVersion;
ua += " (KHTML, like Gecko, ";
// We mention Safari since many broken sites check for it (OmniWeb does this too)
// We re-use the WebKit version, though it doesn't seem to matter much in practice
ua += "Safari/" + webKitVersion;
ua += ") ";
// Vendor Product
ua += g_get_prgname();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment