Opened 4 months ago
#51636 new defect (bug)
REST API: Remove trailing slashes when preloading requests
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | REST API | Keywords: | needs-patch needs-unit-tests |
Focuses: | Cc: |
Description
Other than rest_api_loaded
, rest_preload_api_request
does not currently remove trailing slashes from the requested path.
For consistency, let's call untrailingslashit()
there as well.
Note: See
TracTickets for help on using
tickets.