[wp-trac] [WordPress Trac] #60911: WordPress requires Host in the header

WordPress Trac noreply at wordpress.org
Fri May 17 15:49:31 UTC 2024


#60911: WordPress requires Host in the header
-------------------------------+------------------------------
 Reporter:  robhess05          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by antonvlasenko):

 * keywords:   => reporter-feedback


Comment:

 Thanks for reporting the issue, @robhess05.

 I tried to reproduce the issue but was unable to. Could this be related to
 your specific environment?
 I used this website for testing: https://square-ferret-
 squirrel.jurassic.ninja/ (note that the link is valid for only one week).
 It runs on WordPress 6.5.3.

 When I send a GET request to retrieve all posts, it works without needing
 to specify the "host" header parameter.

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


More information about the wp-trac mailing list