[wp-trac] [WordPress Trac] #51348: Trailing slash redirect removes pipes from query strings

WordPress Trac noreply at wordpress.org
Fri Sep 18 15:31:29 UTC 2020

#51348: Trailing slash redirect removes pipes from query strings
 Reporter:  simjost       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  5.5.1
 Severity:  normal        |   Keywords:
  Focuses:                |
 We are using some query strings for tracking and campaign purposes and
 some of them contain pipes.
 An example:

 When using one of the template permalinks a trailing slash is added at the
 end and WordPress will redirect from non trailing slash url to a trailing
 slash one. Same goes the other way around when a custom permalink is set
 without a trailing slash and an url with a trailing slash is accessed.

 We noticed, that during this redirect all pipes in the query string are
 The example above will result in:

Ticket URL: <https://core.trac.wordpress.org/ticket/51348>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list