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

WordPress Trac noreply at wordpress.org
Fri Sep 18 17:23:41 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             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => reporter-feedback


Comment:

 Hi @simjost welcome to trac!

 Have you tried url encoding your query parameter? As far as I know, a pipe
 is not an allowed character, so it must be url encoded.

 When I try `http://trunk.test/sample-page?key=v1%7Cv2` I get successfully
 redirected to `http://trunk.test/sample-page/?key=v1%7Cv2`.

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


More information about the wp-trac mailing list