[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:37:10 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
-------------------------+--------------------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Replying to [comment:24 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.

 Well, unless you know a means to reverse the work done by filters, you're
 in for big surprises with the patch you just committed.

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


More information about the wp-trac mailing list