[wp-trac] Re: [WordPress Trac] #6992: Quotes in comment name prevent "awaiting moderation" display

WordPress Trac wp-trac at lists.automattic.com
Wed May 6 20:23:44 GMT 2009


#6992: Quotes in comment name prevent "awaiting moderation" display
-------------------------+--------------------------------------------------
  Reporter:  thomasperi  |        Type:  defect (bug)    
    Status:  reopened    |    Priority:  normal          
 Milestone:  2.8         |   Component:  Comments        
   Version:              |    Severity:  normal          
Resolution:              |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------

Comment(by westi):

 Replying to [comment:22 Denis-de-Bernardy]:
 > the real issue here is sanitize_comment_cookies(), which is a bit too
 overzealous on the comment author name. we should store its original value
 (which is correctly set in the cookie) for use in the database query.

 We can just reverse the work in the one place we need the un-sanitised
 version.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/6992#comment:24>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list