From konq-bugs Thu May 31 17:30:23 2012 From: Philip Allen Date: Thu, 31 May 2012 17:30:23 +0000 To: konq-bugs Subject: [Bug 300952] New: kde prepends "www." if it doesn't recognise the domain as valid Message-Id: X-MARC-Message: https://marc.info/?l=konq-bugs&m=133848560504972 https://bugs.kde.org/show_bug.cgi?id=300952 Bug ID: 300952 Severity: normal Version: unspecified Priority: NOR Assignee: konq-bugs@kde.org Summary: kde prepends "www." if it doesn't recognise the domain as valid Classification: Unclassified OS: Linux Reporter: plega-kde@armitstead.com Hardware: Fedora RPMs Status: UNCONFIRMED Component: general Product: konqueror I use a set of proxy instructions to instruct kde (and konqueror) to route local URLs through an ssh tunnel. When I request (say) foo.bar.local, konqueror tries to display www.foo.bar.local. Instead, I get a message from the cache on bar.local saying that "www.foo...." is not a known host. So we know that the proxy script is working, and the ssh tunnel is correctly forwarding to the bar.local network. But it appears that kde/konqueror is pre-pending "www." on the front of the requested URL. However, if I select a URL on the internet that does not begin with "www." (e.g. news.google.com) it requests the correct URL without prepending. I get the same behaviour when clicking on a link in kmail, so it looks like a kde component rather than konqueror. It appears, therefore, that kde is taking the original requested URL and checking that against DNS. When that fails (because the URL is on a separate private network) it is adding "www." and then passing the amended request to konqueror. Reproducible: Always Expected Results: I'm not sure why it should be appropriate to prepend "www." ever. Most websites handle this anyway. That said, if we must have prepending, it should not be doing a DNS search (and deeming the prepending necessary) if the URL is being passed elsewhere by the proxy script. I raised this problem under Bug 187713. I suspect that this issue as I have reported it has been with us for a while, certainly since kde 4.2. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Konq-bugs mailing list Konq-bugs@kde.org https://mail.kde.org/mailman/listinfo/konq-bugs