Closed tucoinfo closed 10 years ago
Hi,
Don't know if you feel this is dangerous but notifications with a URL as CustomProperty value still work for me without being escaped.
http://some.site/dir1/dir2/dir3 vs. http:\/\/some.site\/dir1\/dir2\/dir3
Message.php #375
$sJSON = json_encode($this->_getPayload(), defined('JSON_UNESCAPED_UNICODE') ? JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES : 0);
Cheers Léon
me too please help?
See Message.php as per previous pmessage and line change.
how to fix this! thanks ,please show the code!
Hi,
Don't know if you feel this is dangerous but notifications with a URL as CustomProperty value still work for me without being escaped.
http://some.site/dir1/dir2/dir3 vs. http:\/\/some.site\/dir1\/dir2\/dir3
Message.php #375
$sJSON = json_encode($this->_getPayload(), defined('JSON_UNESCAPED_UNICODE') ? JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES : 0);
Cheers Léon