-
Notifications
You must be signed in to change notification settings - Fork 37
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
Allow base64 data parsing to happen under load.raw #58
base: master
Are you sure you want to change the base?
Conversation
I remarked on this deviation from vanilla rTorrent jesec#52, but just worked around it since my code already required changes for JSON-RPC anyway.
This will need to be in place until jesec/rtorrent#58 is merged
Tested this but saw that it created issues when importing files through torrent clients like |
The problem isn't that software can't be written to handle the difference (and given that |
To add torrent files with JSON-RPC, we can simply use the regular "load from URL" commands: "load.normal=", "load.start=", etc. In vanilla rTorrent, you would use those commands for magnet links or HTTP links. This project, however, implemented the "data" URI scheme [1] with 36731c8 . Use string [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs |
Aha, I grok the intention now. However, I'm still going to push for using data URLs as a generic replacement for the Edit: It was implied, but to state it clearly, |
I remarked on this deviation from vanilla rTorrent in #52, but just worked around it since my code already required changes for JSON-RPC anyway.