Bug 444227 - Escape sequences don't work for magnet links
Summary: Escape sequences don't work for magnet links
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Other All
: NOR minor
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-22 08:26 UTC by 2e36ad
Modified: 2021-10-22 08:26 UTC (History)
0 users

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 2e36ad 2021-10-22 08:26:09 UTC
Magnet links start with "magnet:" not "magnet://", but the code specifically checks for the slashes in this line:
https://invent.kde.org/utilities/konsole/-/blob/97569b764cb01b6e083b79399ea5ac353c7cd0f6/src/EscapeSequenceUrlExtractor.cpp#L49

It breaks the ability to encode magnet links with escape sequences.