[wp-trac] [WordPress Trac] #39061: REST API pagination: Large INT passed to `paged` query arg doesn't fail properly
WordPress Trac
noreply at wordpress.org
Tue Jan 17 05:26:15 UTC 2017
#39061: REST API pagination: Large INT passed to `paged` query arg doesn't fail
properly
-------------------------------------------------+-------------------------
Reporter: morganestes | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: REST API | Release
Severity: normal | Version: 4.7
Keywords: has-patch dev-feedback has-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by rmccue):
It seems like the cutoff value here is `PHP_INT_MAX`, so could we just
check `$value > PHP_INT_MAX`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39061#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list