[wp-trac] [WordPress Trac] #55336: Query strings with reserved characters get wrongly redirected to encoded variant at the root level.
WordPress Trac
noreply at wordpress.org
Tue Mar 8 14:20:53 UTC 2022
#55336: Query strings with reserved characters get wrongly redirected to encoded
variant at the root level.
--------------------------+------------------------------
Reporter: madstegge | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Hi there, welcome to WordPress Trac! Thanks for the report.
Replying to [ticket:55336 madstegge]:
> WordPress however, redirects to a URI encoded variant when the query
string at the root level contains these reserved characters.
>
> So, https://wordpress.org/plugins/?test=123*456 doesn't redirect.
>
> While https://wordpress.org/?test=123*456 redirects to
https://wordpress.org/?test=123%2A456.
I could not reproduce the issue on a clean install. Testing with some
other sites like https://ma.tt/?test=123*456, they don't redirect either.
WordPress.org does indeed redirect as noted, but I think that might be
something specific to that particular network.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55336#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list