[wp-trac] [WordPress Trac] #11286: Normal User Input Causes Status 500

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 2 14:24:50 UTC 2009


#11286: Normal User Input Causes Status 500
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9      
Component:  Comments      |     Version:  2.8.4    
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by miqrogroove):

 I will concede that anything is better than 500 at this point.  But we are
 still confusing the HTTP and HTML layers.  If the client returns a zero-
 byte string for a "required" field, then that is a completely valid
 response at the HTTP layer, and I think it is inappropriate to throw Bad
 Request for valid requests.  If the client returns an entity omitting form
 fields entirely, then in that case you're at least in a gray area and
 should use 403.

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


More information about the wp-trac mailing list