[Bug 368554] [NEW] konqueror send wrong user agent using webkit

Andrea Bravetti andreabravetti at gmail.com
Tue Apr 28 12:05:45 UTC 2009


Public bug reported:

In some case conqueror send the wrong user agent string in headers.

I'm in Kubuntu Jaunty upgraded at 2009/04/28.

root at kubra:~# dpkg-query -s konqueror
Package: konqueror                   
Status: install ok installed         
Priority: optional                   
Section: web                         
Installed-Size: 3504                 
Maintainer: Kubuntu Developers <kubuntu-devel at lists.ubuntu.com>
Architecture: i386                                             
Source: kdebase                                                
Version: 4:4.2.2-0ubuntu4                                      
Replaces: konqueror-kde4                                       

root at kubra:~# dpkg-query -s webkitkde
Package: webkitkde
Status: install ok installed
Priority: optional
Section: kde
Installed-Size: 60
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
Architecture: i386
Version: 0.1~svn090218-0ubuntu1

How to reproduce the problem:

Set webkit as the default, then open konqueror and go to:
http://whatsmyuseragent.com

It show this string:
Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.2 (like Gecko)

But I know I'm using webkit: different font size and different
rendering...

So, at the first run webkit is identified as KHTML...

Refresh as no effect, it come again with KHTML.

Now, if I switch view mode to KHTML it show.... KHTML, but this time is for real, the page is visibly different...
Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.2 (like Gecko)

Now, I switch back to webkit and:
Mozilla/5.0 (Konqueror/4.2; Linux) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3)

It seems it change the user agent only after a switch, but not at the
first load of konqueror...

It is a serious bug for some one that need to test a website.

I assign this bug to konqueror, but it may be related to webkitkde
too...

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

-- 
konqueror send wrong user agent using webkit
https://bugs.launchpad.net/bugs/368554
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.




More information about the kubuntu-bugs mailing list