Fixed problems with security

This commit is contained in:
m-lopez-f 2015-11-26 18:00:50 +01:00
parent c64fc56e92
commit 790c458871
1 changed files with 2 additions and 0 deletions

View File

@ -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'];
}