Closed ghost closed 8 years ago
Makes sense. That code path is pretty hacky. We need to sanitize the torrent names. Would it make sense to replace \
and /
with _
?
Edit: I just saw this comment: "# TODO: handle slashes in torrent names"
It's not a filename. We are using it to name our files, but it's just the name of the torrent. The server can provide anything.
Ah, makes sense.
Attempting to download a torrent file with a name including a front slash into a local directory throws a "FileNotFoundError"