[WebKit-devel] [Bug 198428] Wrong default user agent string in Konqueror with webkit-kde kpart
Sterling X. Winter
sterling.winter at gmail.com
Mon Jul 6 13:58:10 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=198428
--- Comment #4 from Sterling X. Winter <sterling winter gmail com> 2009-07-06 13:58:08 ---
I've narrowed the bad behavior down a little.
The incorrect user agent (with "KHTML/") is always sent in the following
instances:
* When entering a URL in the location bar
* When opening a URL from the Bookmarks menu, from Bookmarks in the Navigation
Panel, or from Bookmark Editor
* When viewing a web page, right-clicking on a link in the page and selecting
"Open in New Tab"
I can make Konqueror send the correct user agent (with "AppleWebKit/"), but
only when left-clicking on a link (such as the links to user agent services in
the previous comments on this bug).
The logic in KWebPage::userAgentForUrl and KProtocolManager::userAgentForHost
looks correct to me, so perhaps KIO is caching something per-KPart instance, or
KWebPage::userAgentForUrl is being called inconsistently?
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the WebKit-devel
mailing list