Jump to content

Jump to page is bugged


ratchet freak

Recommended Posts

Looking at what happens with the requests I see the following:

browser makes a request to http://forum.kerbalspaceprogram.com/threads/.../page51?t=<threadID>&page=25

then server replies with a 301 moved permanently and strips everything after the ? for the location header

so either the form's action must be changed to a page that will honor the get params or the server must actually honor the page parameter when sending the 301

(or use a onsubmit script to replace the page number in the form's action attribute with the filled in value)

Link to comment
Share on other sites

  • 3 months later...
Looking at what happens with the requests I see the following:

browser makes a request to http://forum.kerbalspaceprogram.com/threads/.../page51?t=<threadID>&page=25

then server replies with a 301 moved permanently and strips everything after the ? for the location header

so either the form's action must be changed to a page that will honor the get params or the server must actually honor the page parameter when sending the 301

(or use a onsubmit script to replace the page number in the form's action attribute with the filled in value)

Or it can be fixed by removing the "/page*" from the form's action attribute and letting the handling of the page GET parameter of the form in the "pagination_top" and "pagination_bottom" div

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...