Opened 4 years ago
#51916 new defect (bug)
Incorrect URL encoding and redirect in redirect_canonical
Reported by: | pavoleichler | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.5.3 |
Component: | Canonical | Keywords: | |
Focuses: | Cc: |
Description
- Setup a site with pretty permalinks.
- Visit a URL in the following format, where p=10 must be a valid post ID:
https://mywordpress.site/?p=10&a%26b%3dc=1
- WordPress core will redirect you to a cannonical URL. However it fails to escape the URL query correctly and you end up here:
Note: See
TracTickets for help on using
tickets.