[wp-trac] [WordPress Trac] #50179: all HTTP methods allowed on /login

WordPress Trac noreply at wordpress.org
Sat May 16 20:08:37 UTC 2020


#50179: all HTTP methods allowed on /login
-------------------------------------+------------------------------
 Reporter:  ptasec                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:
-------------------------------------+------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => close reporter-feedback
 * component:  REST API => General


Comment:

 Hi @ptasec,

 Welcome to trac! Could you share more details about the request you are
 making? There is no `/login` route in WordPress Core, you'll only be
 redirected to `wp-login.php`.

 As far as I'm aware, WordPress also only sends a `405` error in limited
 circumstances the REST API, XML-RPC, IXR and commenting. Just making a
 `PUT` request to the homepage of a stock WordPress install does not
 generate a 405 for me. Are you sure this isn't your web server sending the
 error?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50179#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list