[Xfce4-commits] <midori:master> Add 'Version/5.0' token to Safari identification
Christian Dywan
noreply at xfce.org
Sun May 1 02:04:02 CEST 2011
Updating branch refs/heads/master
to fbbaf576f3b9c9ac4da0877c8770efedeee307e4 (commit)
from 1d043194daee94cc488c7ed5f12f61d07ce4825b (commit)
commit fbbaf576f3b9c9ac4da0877c8770efedeee307e4
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun May 1 00:59:58 2011 +0200
Add 'Version/5.0' token to Safari identification
Some websites checking for Safari also look for the token.
midori/midori-websettings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c
index 815ce34..e6e5d3d 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) "
More information about the Xfce4-commits
mailing list