downhash use dot instead of solid line

This commit is contained in:
xiaomlove
2024-12-24 01:10:48 +08:00
parent 2ca703c8df
commit d8ce2bd638
8 changed files with 15 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ function denyDownload()
}
$torrentRep = new \App\Repositories\TorrentRepository();
if (!empty($_REQUEST['downhash'])) {
$params = explode('|', $_REQUEST['downhash']);
$params = explode('.', $_REQUEST['downhash'], 2);
if (empty($params[0]) || empty($params[1])) {
die("invalid downhash, format error");
}