mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
search.php parameter sanitizing (#1213)
Co-authored-by: Cønstantine Kovalensky <45331093+kovalensky@users.noreply.github.com>
This commit is contained in:
parent
d28094006f
commit
4295a2c4c6
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ $url = basename(__FILE__);
|
|||
$anon_id = GUEST_UID;
|
||||
$user_id = $userdata['user_id'];
|
||||
$lastvisit = IS_GUEST ? TIMENOW : $userdata['user_lastvisit'];
|
||||
$search_id = (isset($_GET['id']) && is_string($_GET['id'])) ? $_GET['id'] : '';
|
||||
$search_id = (isset($_GET['id']) && is_string($_GET['id'])) ? DB()->escape($_GET['id']) : '';
|
||||
$session_id = $userdata['session_id'];
|
||||
|
||||
$items_found = $items_display = $previous_settings = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue