Infinite Scroll plugin scrolling truly “infinitely” (i.e. does not recognize end of posts)

I think I already had this problem some month ago.

It may help you to add the following code to your themes functions.php: http://pastebin.com/KbjS4ZeG

The problem in this case was actually located in a wp core function (redirect_canonical() in wp-includes/canonical.php) which tries to “repair” broken/malformed url’s instead of showing an 404 error and ist not behaving in a constant way.

error code: 523