From: Christian Dywan Date: Sat, 30 Apr 2011 22:59:58 +0000 (+0200) Subject: Add 'Version/5.0' token to Safari identification X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbbaf576f3b9c9ac4da0877c8770efedeee307e4;p=midori Add 'Version/5.0' token to Safari identification Some websites checking for Safari also look for the token. --- diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index 815ce34d..e6e5d3d4 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -1287,7 +1287,7 @@ generate_ident_string (MidoriIdentity identify_as) appname, platform, os, lang, webcore_major, webcore_minor); case MIDORI_IDENT_SAFARI: return g_strdup_printf ("Mozilla/5.0 (%s; U; %s; %s) " - "AppleWebKit/%d+ (KHTML, like Gecko) Safari/%d.%d+ %s", + "AppleWebKit/%d+ (KHTML, like Gecko) Version/5.0 Safari/%d.%d+ %s", platform, os, lang, webcore_major, webcore_major, webcore_minor, appname); case MIDORI_IDENT_IPHONE: return g_strdup_printf ("Mozilla/5.0 (iPhone; U; %s; %s) "