Are you sure about this? If you go to http://mybb.github.io/ and click one of those links there is an extra slash in the URL, and page.url seems to include a slash on localhost for me.