[wp-trac] [WordPress Trac] #10551: wp_die() triggers block when using ModSecurity Core Rules

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 22 07:44:51 UTC 2011


#10551: wp_die() triggers block when using ModSecurity Core Rules
------------------------------------------------+--------------------------
 Reporter:  cstrosser                           |       Owner:  westi
     Type:  defect (bug)                        |      Status:  accepted
 Priority:  normal                              |   Milestone:  Future
Component:  Security                            |  Release
 Severity:  normal                              |     Version:  2.8.3
 Keywords:  needs-patch 3.2-early dev-feedback  |  Resolution:
------------------------------------------------+--------------------------
Changes (by solarissmoke):

 * keywords:  needs-patch, 3.2-early => needs-patch 3.2-early dev-feedback


Comment:

 Here's a patch which proposes a bunch of new functions to call `wp_die`
 with different status codes. Meanwhile the default response is changed to
 200.

 I'm thinking that we need consensus on this first. Then it is just a case
 of sifting through all existing `wp_die()` calls and changing them
 accordingly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10551#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list