removed unneeded truncation of sensitive data - sensitive data must not be given at all to notifications link array

This commit is contained in:
Christian Binder 2009-10-09 19:22:39 +00:00
parent be0c204cfa
commit 29e477f912

View File

@ -154,8 +154,7 @@ class notifications_popup implements notifications_iface {
if(!$link->popup) { $link->view['no_popup'] = 1; }
$url = html::link('/index.php', $link->view);
// do not expose sensitive data
$url = preg_replace('/(sessionid|kp3|domain)=[^&]+&?/','',$url);
// extract application-icon from menuaction
if($link->view['menuaction']) {
$menuaction_arr = explode('.',$link->view['menuaction']);