Ticket #9 (new defect)
Cannot submit torrents with an apostrophe in the URL
| Reported by: | nhjm449 | Owned by: | Edward_K |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Tokyo Tosho | Version: | |
| Keywords: | Cc: | nhjm449@…, kaga@… |
Description
Users are unable to submit torrents when there are apostrophes in the torrent URL. The server is attempting to download the torrent URL, but the apostrophes are escaped, causing it to request the wrong URL.
ie.
User enters: http://example.com/i'm_a_torrent.torrent
TT server queries example.com for: http://example.com/i\\'m_a_torrent.torrent
Of course, there is no "i
'm_a_torrent.torrent" on the remote server, causing an error to be returned to the user.
Torrent submission works fine if %27 is substituted for the apostrophe.
[I didn't test double quotes or other possible characters such as backslashes, so those may also be an issue.]
