Bug 452951 - ED2K links are not visible
Summary: ED2K links are not visible
Status: REPORTED
Alias: None
Product: Falkon
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-24 16:09 UTC by genghiskhan
Modified: 2025-09-17 20:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description genghiskhan 2022-04-24 16:09:14 UTC
Can't use ED2K links

Test pages:
http://stulle.emule-web.de/english/download.html
http://freebase.be/file.php?name=Shareaza
Comment 1 genghiskhan 2022-04-24 16:45:45 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".
Comment 2 genghiskhan 2025-09-17 11:56:44 UTC
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/
Comment 3 Juraj 2025-09-17 20:12:34 UTC
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