[wp-trac] Re: [WordPress Trac] #7890: Internal server error when submitting comment without name or email

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 3 19:09:09 GMT 2008


#7890: Internal server error when submitting comment without name or email
-------------------------------------------------------+--------------------
 Reporter:  gadlen                                     |        Owner:  Libor Jelinek
     Type:  defect                                     |       Status:  assigned     
 Priority:  normal                                     |    Milestone:  2.7          
Component:  Comments                                   |      Version:  2.6.1        
 Severity:  normal                                     |   Resolution:               
 Keywords:  2nd-opinion dev-feedback has-patch commit  |  
-------------------------------------------------------+--------------------
Comment (by westi):

 Replying to [comment:15 DD32]:
 > my vote: Keep it as 500, but return a >512 byte error. a 500char comment
 on the wp_die() page would suffice, The attached patch of mine works, and
 only adds the ammount of spaces needed, but theres no reason it couldnt be
 simplified to just dump 500 spaces onto the page.
 >

 That is a horrible solution albeit one that MS recommends -
 http://support.microsoft.com/kb/294807

 At present the wp_die page on trunk for this error is 529 bytes based on
 my count with wc -c

 So is this change still needed?

 If so I think we can come up with a cleaner solution which gets us over
 the limit - i.e. add some more markup to the page.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7890#comment:16>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list