[wp-trac] [WordPress Trac] #56311: Week query variable is not being sanitized correctly
WordPress Trac
noreply at wordpress.org
Tue Jun 3 10:13:09 UTC 2025
#56311: Week query variable is not being sanitized correctly
-------------------------------------------------+-------------------------
Reporter: domainsupport | Owner: audrasjb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Query | Version:
Severity: normal | Resolution:
Keywords: has-test-info needs-unit-tests | Focuses:
changes-requested |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
> What am I missing here? Is it that there's no trailing slash at the end
of the requested URL meaning that the out-of-range day value needs to be
ignored, truncated and canonically redirected?.
I've learnt recently that numbers by the end signal pagination. If there
is no page to paginate with a large number selected, it will, by default
redirect to main page. I believe that the whole pagination system is wrong
in terms of how it's handling routing. But this is out of scope of this
ticket
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56311#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list