Opened 7 years ago
Closed 7 years ago
#41758 closed defect (bug) (duplicate)
Black SEO, returning http code 200 if is page biger number
Reported by: | Talean | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
Fixing black seo access.
Example using page https://wordpress.org/news/page/9223372036854775807/
Return all response HTTP CODE 200
Reference bug: src/wp-includes/class-wp-query.php:2400 (verify PHP_INT_MAX if using intval)
Example execute code: intval((9223372036854775807-1) * 10), returning 0.
Resulting LIMIT 0, 10. Always returning articles
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Resolving example (not tested) :)