[wp-meta] [Making WordPress.org] #4167: Huge pagination values break things

Making WordPress.org noreply at wordpress.org
Mon Feb 11 11:13:00 UTC 2019


#4167: Huge pagination values break things
----------------------------+--------------------
 Reporter:  jonoaldersonwp  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  low             |  Milestone:
Component:  Support Forums  |   Keywords:  seo
----------------------------+--------------------
 E.g., take a look at the behaviour of https://wordpress.org/support/view
 /support-forum-yes/page/9999999999999999999999999999999999/.

 This, and other ''extremely'' high values redirect to a maxint pagination
 value (e.g., https://wordpress.org/support/view/support-forum-
 yes/page/9223372036854775807/).

 This, and other pagination states in the same order of magnitude (e.g.,
 https://wordpress.org/support/view/support-forum-
 yes/page/9223372036854775802/) come with some headaches, where they return
 the 'page 1' state but with incorrect meta values.

 Therefore...

 All invalid range values should return 404 behaviour, as per low range
 invalid values do at present (e.g., https://wordpress.org/support/view
 /support-forum-yes/page/100/). Related, #4166.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4167>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list