[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 300952] New: kde prepends "www." if it doesn't recognise the domain as valid
From:       Philip Allen <plega-kde () armitstead ! com>
Date:       2012-05-31 17:30:23
Message-ID: bug-300952-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic