User supplied User-Agent string is not used consistently

Bug #962991 reported by Gary Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Confirmed
Undecided
Unassigned

Bug Description

Looking at the User-Agent string sent to WebKit, the first [few] time uses the default string before the user defined
string is used. Check this log of these calls:

midori_web_settings_set_property.1656 - user-agent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; c) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.10+ Midori/0.4'
midori_web_settings_set_property.1648 - user-agent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; c) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.10+ Midori/0.4'
midori_web_settings_set_property.1656 - user-agent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; c) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.10+ Midori/0.4'
midori_web_settings_set_property.1656 - user-agent = 'Mozilla/5.0 (MyPlatform; Macintosh; U; Intel Mac OS X; c) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.10+ Midori/0.4'
midori_web_settings_set_property.1656 - user-agent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; c) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.10+ Midori/0.4'
midori_web_settings_set_property.1648 - user-agent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; c) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.10+ Midori/0.4'
midori_web_settings_set_property.1656 - user-agent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; c) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.10+ Midori/0.4'

It also seems that sometimes the user supplied string is even forgotten (above, after sending the special string once, it reverts back to the default)

Tags: user-agent
Cris Dywan (kalikiana)
tags: added: user-agent
Changed in midori:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.