[wp-trac] [WordPress Trac] #26828: Posting a form with "second" "minute" or "hour" as input names throws 404 error

WordPress Trac noreply at wordpress.org
Tue Jan 14 06:01:40 UTC 2014


#26828: Posting a form with "second" "minute" or "hour" as input names throws 404
error
--------------------------+-----------------------------
 Reporter:  New Nine      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP          |    Version:  3.8
 Severity:  trivial       |   Keywords:  needs-patch
--------------------------+-----------------------------
 Create a form on a page or post with an input named "second", "minute", or
 "hour" and post it (to itself or another page/post). The result is a 404
 error.

 It doesn't happen on category or tag archives - just singles.

 I'm thinking that WordPress is running one of its own form submission
 validations (maybe it thinks a post is being created?), is finding missing
 fields, and throws a 404 error.

 Marked as trivial because you can simply change the name of your form
 inputs.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26828>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list