mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01: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;
|
||||
$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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user