Fixed problems with security
This commit is contained in:
parent
c64fc56e92
commit
790c458871
|
@ -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…
Reference in New Issue