Review Request: PATCH: Change the default KIO USERAGENT string.
Dawit Alemayehu
adawit at kde.org
Wed May 11 17:00:06 BST 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101337/
-----------------------------------------------------------
Review request for kdelibs.
Summary
-------
This patch changes the default user-agent string so that it is more aligned with other browsers by
- Dropping 'comptiable' and 'U' from the string.
- Making the platform string, e.g X11, mandatory part of the string.
- Sending the OS name and machine type (i686,x86-64) by default (configurable).
Additionally the patch for kprotocolmanager.cpp also removes the manual use of '%' to append text since kdelibs is now compilable with the QT_USE_FAST_CONCATENATION and QT_USE_FAST_OPERATOR_PLUS flags.
Besides being good for privacy due to less differentiation, this change should make it less likely that a different page will be sent sheerly based on user-agent sniffing. See the attached screen shot for what the full, default, and minimal default user-agent will look like now.
This addresses bug 271720.
http://bugs.kde.org/show_bug.cgi?id=271720
Diffs
-----
kio/kio/http_slave_defaults.h af97cfa
kio/kio/kprotocolmanager.cpp 57ec696
Diff: http://git.reviewboard.kde.org/r/101337/diff
Testing
-------
Screenshots
-----------
UserAgent [FULL]
http://git.reviewboard.kde.org/r/101337/s/163/
UserAgent [Default]
http://git.reviewboard.kde.org/r/101337/s/164/
UserAgent [Minimal]
http://git.reviewboard.kde.org/r/101337/s/165/
Thanks,
Dawit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110511/3b27a2a0/attachment.htm>
More information about the kde-core-devel
mailing list