Summary: | DNS: CNAME does not work correctly | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Mario Weilguni <mweilguni> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | adawit, thiago |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mario Weilguni
2005-05-19 08:34:57 UTC
I see the problem, but I can't reproduce it. It may be a problem in kio_http, but I think it is in the short URI filter. I noticed another strange problem. This fails only the first time when I try "foo" in konqueror, subsequents requests for "foo" work as expected. There has to be some problem in the DNS logic here. There were problems a while ago that we have fixed. Make sure you're running the latest in branch. Any developments? Same problem here, with 3.4.2, 3.4.3 and 3.5.0_beta2. "foo CNAME bar" in mydomain.com I type "foo" in location and get sent to "http://bar.mydomain.com" I type "http://foo" in location and get sent to "http://foo.mydomain.com" It seems that if protocol is not given, it will look up "foo" in DNS first (and follow CNAME), and then add default protool (http:) afterwards. I've reproduced this now (r477777), but it must be in the kshorturifilter (which is something I proposed to improve since KDE 3.3, but never got around to). This is neither a kio_http bug nor an issue in kshorturifilter. Actually it is kshorturifilter that saves you when you type "http://foo" because it thinks that is a valid url which prevents any further processing by the other uri filter plugins. What causes your problem is localdomainurifilter which can be found at kdebase/runtime/kurifilter-plugins/localdomain. Unfortunately it is written to do exactly what you do not want. For now the only way to fix this issue is to remove the offending uri filter plugin library, localdomainurifilter.so, from your KDE installation. The proper fix would be a configuration option that prevents the use of this or any urifilter plugin at the application level. Specifically Konqueror or any other browser can provide such configuration options. See my first comment in bug 207550 on how to disable the localdomainurifilter. That should resolve this problem. |