Make WordPress Core

Opened 3 years ago

#51916 new defect (bug)

Incorrect URL encoding and redirect in redirect_canonical

Reported by: pavoleichler's profile pavoleichler Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.3
Component: Canonical Keywords:
Focuses: Cc:


  1. Setup a site with pretty permalinks.
  2. Visit a URL in the following format, where p=10 must be a valid post ID:

  1. WordPress core will redirect you to a cannonical URL. However it fails to escape the URL query correctly and you end up here:

Change History (0)

Note: See TracTickets for help on using tickets.