[wp-trac] [WordPress Trac] #29649: JSON in post_content causes Apache to crash
WordPress Trac
noreply at wordpress.org
Fri Sep 12 20:45:19 UTC 2014
#29649: JSON in post_content causes Apache to crash
-------------------------------+-----------------------------
Reporter: ihomefinder | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.0
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
If a post / page contains the below JSON in the post content and then is
viewed in a browser, the page will not render and Apache will crash.
However, if a node of the JSON is removed, the page will render. If a node
is added, the page will not render. This is only occurring on WordPress
4.0.0 with PHP versions 5.2.x - 5.4.x.
If you're using WordPress 3.9.3 or PHP 5.5.x, the issue does not occur.
For testing, I'm using XAMMP 1.8.1 bundle:
-Apache 2.4.3
-MySQL 5.5.27 (Community Server)
-PHP 5.4.7 (VC9 X86 32bit thread safe) + PEAR
{{{
[
{
"value": "95965",
"label": "95965",
"match": "95965",
"fieldName": "zip",
"groupLabel": "",
"uniqueId": "95965"
},
{
"value": "96001",
"label": "96001",
"match": "96001",
"fieldName": "zip",
"groupLabel": "",
"uniqueId": "96001"
},
{
"value": "96114",
"label": "96114",
"match": "96114",
"fieldName": "zip",
"groupLabel": "",
"uniqueId": "96114"
}
]
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29649>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list