Fixed problems with security

This commit is contained in:
m-lopez-f 2015-11-26 17:59:46 +01:00
parent 5906e22b3f
commit e4235d8523

View File

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