[wp-trac] [WordPress Trac] #29450: Shortcode breaks the page it's placed on

WordPress Trac noreply at wordpress.org
Tue Sep 9 20:48:02 UTC 2014


#29450: Shortcode breaks the page it's placed on
--------------------------+------------------------------
 Reporter:  uriy84        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by miqrogroove):

 Replying to [comment:5 nacin]:
 > What's your `ini_get( 'pcre.backtrack_limit' )` (also `ini_get(
 'pcre.recursion_limit' )`) on both of these setups? I imagine that might
 be where we see the difference. Works fine for me with a backtrack limit
 of 100000, though, which is an order of magnitude less than the PHP
 default for PHP >= 5.3.7.

 I'm guessing it's an aberration in PCRE versions.  It's mitigated by
 setting the backtrack limit to a very low number such as 1000 to cause the
 command to bail, but the default value of 100k or 1 million is leading to
 a crash instead.  Still looking at some of the details in #29557.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29450#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list