Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#14534 closed defect (bug) (invalid)

Hang saving a post with certain words

Reported by: ckaczor's profile ckaczor Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: General Keywords:
Focuses: Cc:

Description

Every so often I run into a problem where WordPress suddenly starts hanging when I try to save a post. I've managed to narrow this down to certain wording in the post.

For example a post with this will hang:

But to insert foo into the bar is not acceptable.

If I change "insert" to "add" the problem will go away. One other time if I changed the word "settlement" to something else the problem went away.

I'm guessing this is related to the protection for SQL injection (insert, into, etc.) but it seems broken. Ideally this would be detected as not being a SQL statement and allowed. At minimum it would be great if WordPress could say what the problem was so it could be fixed in the post a lot easier.

Attachments (1)

Post2.txt (3.0 KB) - added by ckaczor 14 years ago.
Here is the HTML of the entire post that I narrowed down to that test case.

Download all attachments as: .zip

Change History (2)

@ckaczor
14 years ago

Here is the HTML of the entire post that I narrowed down to that test case.

#1 @nacin
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

This isn't a problem with WordPress. You probably have mod_security enabled on the server.

Note: See TracTickets for help on using tickets.