Opened 14 years ago
Closed 14 years ago
#14534 closed defect (bug) (invalid)
Hang saving a post with certain words
Reported by: | 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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Here is the HTML of the entire post that I narrowed down to that test case.