[wp-trac] [WordPress Trac] #12341: Invalid feed type returns 500 HTTP response

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 22 23:43:31 UTC 2010


#12341: Invalid feed type returns 500 HTTP response
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:                        
     Type:  defect (bug)   |      Status:  new                   
 Priority:  normal         |   Milestone:  Unassigned            
Component:  General        |     Version:                        
 Severity:  normal         |    Keywords:  has-patch dev-feedback
---------------------------+------------------------------------------------
 It looks like passing a bad value to the get variable "feed" gives an HTTP
 response 500 (see [http://ma.tt/?feed=1234]).  That doesn't sound like the
 right response. It seems like it should be a 40x response.  I read the
 [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html Status Code
 Definitions], but I'm not totally sure which one is most appropriate.  The
 attached patch changes it to send a 404.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12341>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list