mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
recover some $_GET & $POST variable keep be integer
This commit is contained in:
@@ -4,7 +4,7 @@ require_once("include/bittorrent.php");
|
||||
if (!preg_match(':^/(\d{1,10})/([\w]{32})/(.+)$:', $_SERVER["PATH_INFO"], $matches))
|
||||
httperr();
|
||||
|
||||
$id = $matches[1] ?? 0;
|
||||
$id = intval($matches[1] ?? 0);
|
||||
$md5 = $matches[2];
|
||||
$email = urldecode($matches[3]);
|
||||
//print($email);
|
||||
|
||||
Reference in New Issue
Block a user