Summary: | unqualified hosts no longer allowed in proxy configuration | ||
---|---|---|---|
Product: | kcontrol | Reporter: | crozierm |
Component: | kcmproxy | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zander |
Priority: | NOR | ||
Version: | 3.3 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | fix typo |
Description
crozierm
2004-08-23 22:17:58 UTC
P.S. I can manually add the unqualified hostnames in kioslaverc, which works properly. Created attachment 7263 [details]
fix typo
Hello,
This is partially a bug and partially a feature. In 3.3 the proxy config dialog
performs URL validation by passing your input is through the URI filters.
Unfortunately a bug in the uri filters code hid the problem you mentioned above
which is caused by a typo. Unqualified hostnames are valid so long as they are
within your own domain, i.e. the resolver can resolve them. For example, if
your fully qualified hostname is "konq.foo.bar", then entering konq should be
fine since it can be correctly resolved by KDE's IO subsystem. Anyways, the
attached should fix the typo. If you are unable to apply the patch, then the
fix will be in the 3.3.1 release.
Thanks for the report.
CVS commit by adawit: - Backport typo fix. CCMAIL: 87875-done@bugs.kde.org M +2 -2 kmanualproxydlg.cpp 1.27.2.1 --- kdebase/kcontrol/kio/kmanualproxydlg.cpp #1.27:1.27.2.1 @@ -2,5 +2,5 @@ kmanualproxydlg.cpp - Proxy configuration dialog - Copyright (C) 2001,02,03 - Dawit Alemayehu <adawit@kde.org> + Copyright (C) 2001-2004 Dawit Alemayehu <adawit@kde.org> This library is free software; you can redistribute it and/or @@ -412,5 +412,5 @@ bool KManualProxyDlg::isValidURL( const QStringList filters; - filters << "kshorturifilter" << "localdomainfilter"; + filters << "kshorturifilter" << "localdomainurifilter"; // If the typed URL is malformed, and the filters cannot filter it |