Jump to content

Different behaviour for URLs with HTTP 302 (Redirects) : Add Torrent from URL vs RSS Feeds Download


AllNutty

Recommended Posts

Hi, adding torrents and magnets using HTTP Requests with "Redirects" (HTTP 302) works differently when used using File->"Add Torrent from URL..." and Feeds->RSSItem->Download.

For example,

HTTP GET: http://web.srv/redirect_torrent.php?UniqueHash=xxyyzzwithHTTP 302 FoundLocation: http://web.srv/store/file-xxyyzz.torrentContent-Type: application/x-bittorrent


Works fine when either of the methods is used.

 

HTTP GET: http://web.srv/redirect_magnet.php?UniqueHash=xxyyzzwithHTTP 302 FoundLocation: magnet:?xt=urn:btih:xxyyzzContent-Type: application/x-bittorrent


It works only when "Add Torrent from URL" method is used. When done using Feeds->Download, following error is shown:

RSS: Unable to load"http://web.srv/redirect_magnet.php?UniqueHash=xxyyzz"Too many redirects"magnet:?xt=urn:btih:xxyyzz"



Finally, when HTTPS is used, HTTP Error 400 is always shown.

I hope this anomaly would be fixed in the future releases.
Thanks

 

PS: Tested with uTorrent v3.4.2 b36044 and the latest version(v3.4.3 b40208)

SSL certificates were self-signed and Apache has 'SSLCipherSuite AES256-SHA'.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...