Bug #61537 [ReO->Csd]: json_encode() incorrectly truncates/discards information
| From: | stas@php.net | Date: | Tue, 07 Oct 2014 23:26:27 +0000 |
| Subject: | Bug #61537 [ReO->Csd]: json_encode() incorrectly truncates/discards information | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-187939@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61537&edit=1
ID: 61537
Updated by: stas@php.net
Reported by: joey@php.net
Summary: json_encode() incorrectly truncates/discards
information
-Status: Re-Opened
+Status: Closed
Type: Bug
Package: JSON related
Operating System: all
PHP Version: 5.4.0
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of stas
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=7bbd5521d28ee77c5a8df80174f52dad0112e872
Log: Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards information)
and"
Previous Comments:
------------------------------------------------------------------------
[2012-06-20 21:47:04] theanomaly dot is at gmail dot com
I had previously submitted this PR in light of this bug report, but unaware of
aharvey at php dot net's patch I withdrew it afterwards. I'm submitting it again
as a temporary solution since it doesn't break anything else. Should this
functionality also provide an option for going back to the old behavior as nikic
suggests in the PR comments? https://github.com/php/php-src/pull/111
stas at php dot net:
If so please let me know what you think...
------------------------------------------------------------------------
[2012-06-20 14:29:50] arjen at react dot com
This fix was reverted on 5.4, but not for 5.3.14.
5.3.14 is now behaving different than 5.4.4: http://3v4l.org/eeXV2
------------------------------------------------------------------------
[2012-05-02 07:11:50] stas@php.net
Automatic comment on behalf of stas
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7bbd5521d28ee77c5a8df80174f52dad0112e872
Log: Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards information)
and"
------------------------------------------------------------------------
[2012-05-02 07:10:34] stas@php.net
Sorry, the fix wasn't correct, had to revert it. Please correct the wrong things
and reapply.
------------------------------------------------------------------------
[2012-05-02 07:09:53] stas@php.net
Automatic comment on behalf of stas
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7bbd5521d28ee77c5a8df80174f52dad0112e872
Log: Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards information)
and"
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61537
--
Edit this bug report at https://bugs.php.net/bug.php?id=61537&edit=1