mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
downhash use dot instead of solid line
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user