server: torrents: disallow comma in tag

This commit is contained in:
Jesse Chan
2020-12-15 20:31:29 +08:00
parent 1f02e9b712
commit 20fc3ac6a8
14 changed files with 129 additions and 84 deletions

View File

@@ -17,6 +17,7 @@ fs.mkdirSync(rTorrentSession, {recursive: true});
fs.writeFileSync(
`${temporaryRuntimeDirectory}/rtorrent.rc`,
`
execute.nothrow = rm,-rf,${rTorrentSession}/rtorrent.lock
directory.default.set = "${temporaryRuntimeDirectory}"
session.path.set = "${rTorrentSession}"
network.scgi.open_local = "${rTorrentSocket}"