[wp-trac] [WordPress Trac] #14534: Hang saving a post with certain words

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 4 17:58:36 UTC 2010


#14534: Hang saving a post with certain words
--------------------------+-------------------------------------------------
 Reporter:  ckaczor       |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14534>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list