finnsson/pagerjs — pull request #110 by tedsteen (2013-03-12 20:28:43+00:00)
Title: Should use getBaseUrl instead of getRootUrl in startHistoryJs

goTo(pager.Href5.history.getState().url.replace(pager.Href5.history.getRootUrl(), ''));
should be
goTo(pager.Href5.history.getState().url.replace(pager.Href5.history.getBaseUrl(), ''));

Otherwise pager will not match the correct url when deployed under other context paths than the root

Same goes for History.Adapter.bind(window, 'statechange'...)