-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allowing users to save .torrent files via Save Link As
#1436
Comments
+1 This is extremely annoying. I love that Brave has the torrent features built in, but I don't want to use them on my seed box. I don't want to go through all those extra clicks each time. I just want it to download and open the torrent file instantly like Chrome does. Feels like a step backwards if we can't disable / bypass the torrent features. |
This comment has been minimized.
This comment has been minimized.
I think that this bug has the same root cause as #5361. I'm working on a fix. |
If a web page embeds the WebTorrent client-side JS library and attempts to load a .torrent file using an XHR request or fetch, Brave will intercept the .torrent file load and replace it with the chrome-extension HTML, breaking the site. This is true not just for the WebTorrent JS library but for any request to fetch a .torrent file. Fixes: brave/brave-browser#5361 Fixes: brave/brave-browser#3164 Fixes: brave/brave-browser#1436
Confirmed that this is the same issue as #5361 and it is fixed by this PR: brave/brave-core#3035 |
@feross this still doesn't seem to be working. Right clicking on a However, once you disable I tried on the following builds and managed to reproduce:
Can you see if it's working on your end? |
I'm getting the same behavior as you. I wonder if this broke in some later commit or if it never worked and I missed it because it seemed like the same issue as the other two linked from PR brave/brave-core#3035. Should we re-open this issue and track fixing this in a future version? It's not a terrible bug that should block release or anything like that. |
@feross agreed that it's not terrible and shouldn't block the |
Description
Currently the only way to save a
.torrent
file is by clicking on the download link, which will open a new tab and loadwebtorrent
where you can click onSave Torrent File
, which is annoying. Users should have the ability to download the.torrent
file via the context menu without needed to go throughwebtorrent
.There's currently no way of disabling
webtorrent
either so it's currently a pain if you're using another application for torrents.Steps to Reproduce
sintel.torrent
and selectSave Link As..
Actual result:
You'll notice that instead of download the
.torrent
file, brave downloads theHTML Text
link.Expected result:
Should be able to download the
.torrent
file viaSave Link As..
as other browsers.Reproduces how often:
100% reproducible using the above STR.
Brave version (chrome://version info)
Reproducible on current release:
Yes, reproducible with the following builds/channels:
Nope,
Save Link As..
on.torrent
links doesn't seem to be working at all under0.24.0
.The text was updated successfully, but these errors were encountered: