[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 158568] New: http user agent not sent when switching TO "webkit"
From: Chris <SneakyWho_am_i () yahoo ! co ! uk>
Date: 2008-02-29 11:14:57
Message-ID: 20080229121456.158568.SneakyWho_am_i () yahoo ! co ! uk
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=158568
Summary: http user agent not sent when switching TO "webkit" view
mode
Product: konqueror
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: konq-bugs kde org
ReportedBy: SneakyWho_am_i yahoo co uk
Version: 4.0.1 (KDE 4.0.1) (using 4.0.1 (KDE 4.0.1), Kubuntu packages)
Compiler: gcc
OS: Linux (i686) release 2.6.24-10-generic
With Konqueror 4.0.1 in the default settings under (edu|k|x|)Ubuntu Hardy with kde4.
This is a problem with http itself that could interfere with very naughty websites \
who think it's ok to do user agent sniffing.
create a php page containing only EITHER
phpinfo();
OR
print_r($GLOBALS);//yes, this will work fine without register globals
Upload the file to a webserver somewhere and visit it in Konqueror. So far so good. \
Note the user agent. Looks good. I'm assuming we're looking using Webkit at this \
point. Switch to KHTML "View Mode" - still looks good. Again, note the user agent.
Fun: Switch the "View Mode" (Under the View Menu) back to "WebKit"... What's your \
user agent now? According to php, nothing.
url for test case:
http://smfzone.sneakywhoami.com/konqueror.php
source code for test case:
<?php
if (!isset($_SERVER['HTTP_USER_AGENT']))
echo 'Your browser is too good to see this page';
else
echo 'Hi, welcome to this great page';
?>
Steps to reproduce @ test case:
1: navigate to offending (bad) page
2: switch rendering engine
Why this is bad for a user:
You'd probably only want to switch rendering engines to avoid a badly drawn page, and \
many times the page appears incorrectly because of browser detection. The missing \
User Agent string may make it appear even worse, which most likely is not a good \
thing. _______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic