1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00
Files
archived-php-src/ext/json/tests
Eddie Kohler 104876dd8e json_encode: Escape U+2028 and U+2029 more often.
These characters are illegal in Javascript, so leaving them unescaped
is risky. The default encoder ($flags = 0) is fine, but the encoder
with JSON_UNESCAPED_UNICODE flag is not.

In case anyone wants the ability to leave these characters unescaped,
provide JSON_UNESCAPED_LINE_TERMINATORS.
2016-01-22 19:40:58 +00:00
..
2015-11-15 19:06:09 +00:00
2012-07-01 16:38:26 +02:00
2012-07-01 16:38:26 +02:00
2007-12-28 13:23:00 +00:00
2015-11-15 19:06:09 +00:00
2015-11-15 19:06:09 +00:00
2007-06-29 14:00:21 +00:00
2008-11-19 16:58:28 +00:00
2012-07-01 16:38:26 +02:00
2009-03-17 23:31:14 +00:00
2012-07-01 16:38:26 +02:00
2012-07-01 16:38:26 +02:00
2015-06-28 18:09:10 +01:00
2012-07-01 16:38:26 +02:00
2014-05-05 01:00:59 +02:00