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