Summary: | ED2K links are not visible | ||
---|---|---|---|
Product: | [Applications] Falkon | Reporter: | genghiskhan |
Component: | general | Assignee: | David Rosca <nowrep> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | jurajoravec |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
genghiskhan
2022-04-24 16:09:14 UTC
Perhaps it has to do with "safelist" so-called, by which ed2k doesn't appear to be listed in. https://html.spec.whatwg.org/multipage/system-state.html#custom-handlers:safelisted-scheme DCHUB, ED2K, FastTrack, IPFS etc. are no less safe than any other system that utilizes magnet:urn. I mean, what is safe?(!) Both magnet and urn are registered in "safelist". As far as I'm concerned, this "safelist" is not a safe-list at all. It is a mere censorship list to close on people into centralized technologies. If a URI doesn't work or not registered on a machine, nothing will occur. In other words, this is a task for operating systems, not web browsers. P.S. IPFS does work, even though is not enumerated in "safelist". I have found this forum thread about the HTML interpreters that block eD2k URI schems. https://first-loves.net/forums/viewtopic.php?style=2&t=16299 Would it be possible to modify Falkon to overcome this problem? https://giuseppefava.com/link-ed2k-non-funzionano-ecco-la-soluzione/ Hello, I tried to check the situation and found that the issue comes from Qt QUrl implementation where it somehow considers the ed2k URL invalid, probably due to use of special characters in places where they should not be according to URI specification. See the last paragraph of the documentation [1]. And since Falkon depends on Qt it cannot bypass this restriction. With the addition of unknownProtocolHandle feature, the ed2k URL will not be opened correctly at all, since this feature depends on QUrl as well. So, as this goes it is very unfortunate but the best solution is to create a feature request for QT. [1]: https://doc.qt.io/qt-6/qurl.html#details |