mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 20:11:23 +02:00
allow json in body on(Load|Unload|Resize) tags
This commit is contained in:
@@ -965,7 +965,7 @@ abstract class egw_framework
|
||||
{
|
||||
if (!empty($data))
|
||||
{
|
||||
$js .= ' '.$what.'="' . str_replace(array('\\\'','"','\\','''),array(''','\\"','\\\\','\\\''),$data) . '"';
|
||||
$js .= ' '.$what.'="' . htmlspecialchars($data) . '"';
|
||||
}
|
||||
}
|
||||
return $js;
|
||||
|
Reference in New Issue
Block a user