mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed problems with security
This commit is contained in:
parent
5906e22b3f
commit
e4235d8523
@ -18,6 +18,8 @@ if (isset($_GET['homeurl'])) {
|
||||
}
|
||||
else $homeurl = '';
|
||||
|
||||
$homeurl = ((bool)filter_var($homeurl, FILTER_VALIDATE_URL) == 1) ? '' : $homeurl;
|
||||
|
||||
if (isset($_GET['ttl'])) {
|
||||
$ttl = $_GET['ttl'];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user