[wp-trac] [WordPress Trac] #41758: Black SEO, returning http code 200 if is page biger number
WordPress Trac
noreply at wordpress.org
Wed Aug 30 12:56:59 UTC 2017
#41758: Black SEO, returning http code 200 if is page biger number
-------------------------------+-----------------------------
Reporter: Talean | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41758>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list