mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
xss fix, running the content of the address-label-function through strip_html
This commit is contained in:
parent
ebee2598cf
commit
79a4414e97
@ -999,11 +999,7 @@
|
||||
$data = $coldata;
|
||||
}
|
||||
}
|
||||
elseif($column == 'label' && $coldata)
|
||||
{
|
||||
$data .= $this->contacts->formatted_address($fields[0]['id'],'',False);
|
||||
}
|
||||
elseif($column == 'url' && $coldata)
|
||||
elseif ($column == 'url' && $coldata)
|
||||
{
|
||||
$ref = '<a href="' . $coldata . '" target="_new">';
|
||||
$data = $coldata . '</a>';
|
||||
@ -1020,6 +1016,11 @@
|
||||
}
|
||||
$data = $coldata.'</a>';
|
||||
}
|
||||
elseif ($column == 'bday')
|
||||
{
|
||||
list($month,$day,$year) = explode('/',$coldata);
|
||||
$data = $GLOBALS['phpgw']->common->dateformatorder($year,$month,$day,True);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* But these do not */
|
||||
|
Loading…
Reference in New Issue
Block a user