WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Chr( in post causes 500 Server Error (2 posts)

  1. Robanybody
    Member
    Posted 2 years ago #

    When I create a post on my WordPress 3.2.1. site, that contains Chr( and I click Preview or Publish I get a 500 Server Error.

    On a friends WordPress 3.1 site a post that conains Chr( can be viewed and published without a problem.

    How can I fix this in my version 3.2.1 WordPress? Thanks in advance. Any help is appreciated.

    More info. I tried to post some VBScript that contained Chr(34). It was quite a large script and it took me a while to narrow it down to chr( (case insensitive).

  2. Robanybody
    Member
    Posted 2 years ago #

    My WordPress site is hosted on a Apache server on which the apache module mod_security is running.

    By adding the following two lines to the .htaccess file the problem was fixed:
    SecFilterEngine Off
    SecFilterScanPOST Off

    My apologies for thinking it was caused by WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic