[wp-trac] [WordPress Trac] #51636: REST API: Remove trailing slashes when preloading requests

WordPress Trac noreply at wordpress.org
Mon Jul 26 15:22:11 UTC 2021


#51636: REST API: Remove trailing slashes when preloading requests
-------------------------------------------------+-------------------------
 Reporter:  swissspidy                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.9
Component:  REST API                             |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch needs-unit-tests good-   |     Focuses:  rest-api
  first-bug                                      |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * keywords:  needs-patch needs-unit-tests => needs-patch needs-unit-tests
     good-first-bug
 * milestone:  Awaiting Review => 5.9


Comment:

 Makes sense to me! This should probably happen right before `$path` is
 passed to `$path_parts = parse_url( $path )`.

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


More information about the wp-trac mailing list