From fbbaf576f3b9c9ac4da0877c8770efedeee307e4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 1 May 2011 00:59:58 +0200 Subject: [PATCH] Add 'Version/5.0' token to Safari identification Some websites checking for Safari also look for the token. --- midori/midori-websettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) " -- 2.39.5