mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-04-17 12:38:21 +02:00
fixing the fix: explicitly disallowing "javascript:" url's to be used as menuaction: fixes not working add email links in the addressbook popup for FMail
This commit is contained in:
parent
e0e16ab18d
commit
084b53971c
@ -1005,7 +1005,7 @@ class html
|
|||||||
$vars = $url;
|
$vars = $url;
|
||||||
$url = '/index.php';
|
$url = '/index.php';
|
||||||
}
|
}
|
||||||
elseif (!strstr($url,'/') && count(explode('.',$url)) >= 3 && !(strstr($url,'mailto:') || strstr($url,'://')))
|
elseif (!strstr($url,'/') && count(explode('.',$url)) >= 3 && !(strstr($url,'mailto:') || strstr($url,'://') || strstr($url,'javascript:')))
|
||||||
{
|
{
|
||||||
$url = "/index.php?menuaction=$url";
|
$url = "/index.php?menuaction=$url";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user