Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow magnet URL scheme #4793

Closed
zeroware opened this issue Aug 14, 2017 · 2 comments
Closed

Allow magnet URL scheme #4793

zeroware opened this issue Aug 14, 2017 · 2 comments

Comments

@zeroware
Copy link

Description

I'm trying to send a link with the magnet URL scheme magnet:
The href attribute is removed when the link is displayed.

Steps to reproduce

  • Post a link using matrix-js-sdk containing a magnet URL scheme in the href attribute
  • The href attribute is removed

I expect the href attribute to be intact.

I may be wrong but I think we need to add the magnet scheme here :
https://github.com/matrix-org/matrix-react-sdk/blob/v0.9.7/src/HtmlUtils.js#L131

Version information

  • web

For the web app:

  • Browser: Firefox 54
  • OS: Arch Linux
  • URL: riot.im/app
@zeroware
Copy link
Author

Just made a pull request to fix it : matrix-org/matrix-react-sdk#1301

@t3chguy
Copy link
Member

t3chguy commented Feb 9, 2021

Closing in favour of #15018

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants