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

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 29 06:48:00 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  |  
---------------------------------------+------------------------------------
Comment (by 112502):

 DD32: 200 isn't a correct response for an error message?

 Uhh, no offense, but...

 The problem is that 500 and 200 are ''httpd status messages''.  They have
 ''nothing whatsoever'' to do with Wordpress, excepting the case where a
 page cannot be served for whatever reason.  In this situation, httpd is
 serving the Wordpress files correctly, therefore there should be ''no
 error message''.

 What we're talking about here is a Client Input Validation error, that has
 ''nothing to do with httpd Error Codes''.  If this was a 404 condition or
 the like, I could see your point, but definitely not in this case.

 A 200 condition is the ''only'' logical outcome.

 Again, I don't intend it as a flame.  It's informational, and it's the way
 things have been for over fifteen years.  Please don't go all crazy trying
 to change the logic behind status codes.  ;-)

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


More information about the wp-trac mailing list