WordPress.org

Make WordPress Core

Changeset 7558


Ignore:
Timestamp:
03/28/2008 06:08:20 AM (12 years ago)
Author:
ryan
Message:

Disable mod_security for uploader. Props andy. see #6406

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r7554 r7558  
    926926        $rules .= "</IfModule>\n";
    927927
     928        // If ModSecurity is loaded, disable it for uploads.
     929        $rules .= "\n<IfModule mod_security.c>\n" .
     930            "<Files async-upload.php>\n" .
     931            "SecFilterEngine Off\n" .
     932            "SecFilterScanPOST Off\n" .
     933            "</Files>\n" .
     934            "</IfModule>\n";
     935
    928936        $rules = apply_filters('mod_rewrite_rules', $rules);
    929937        $rules = apply_filters('rewrite_rules', $rules);  // Deprecated
  • trunk/wp-includes/version.php

    r7521 r7558  
    1717 * @global int $wp_db_version
    1818 */
    19 $wp_db_version = 7499;
     19$wp_db_version = 7558;
    2020
    2121?>
Note: See TracChangeset for help on using the changeset viewer.