Summary: | kfmclient/kioclient application launch fails if '|' character used in URL | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | jhart <jacob.hart+kde> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | adaptee, envite, faure, lucanive |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
jhart
2010-08-22 11:06:06 UTC
I can confirm this. Actually, my result is even worse. kioclient treat ANY ed2k link as malformed URL. Open http://www.gruk.org/list.php with konqueror, right click on any ed2k links and choose copying its location, and the result is only "ed2k:/" . I am using konqueror 4.5.1 on KDE SC 4.5.1, archlinux . The issue is that hostnames with a '|' in them are invalid. QUrl implements STD3 hostname checking, and therefore these hostnames make the url invalid (this is why you only see the scheme). See http://www.faqs.org/rfcs/rfc3987.html for more details. I tried arguing the case with the QUrl maintainer (Thiago) about making it more tolerant, but as he says, RFCs exist so that apps can interoperate, if you violate it then the apps stop working. This has to be taken up with the eDonkey people, I assume, so that they use valid URLs. *** Bug 307587 has been marked as a duplicate of this bug. *** *** Bug 326831 has been marked as a duplicate of this bug. *** What happened to "Be liberal on what you accept" side of the saying? You should be strict only on what you send. You should not do this check, but instead relay on the receiving app doing its own check. This is grossely affecting ed2k apps users in KDE, making them unable to "just click". See 326831. |