Fixes #6258: Pagination uses HTTP referrer as default base_url for Ajax requests
Merge pull request #6263 from mrclay/6258

Fixes #6258: Pagination uses HTTP referrer as default base_url for Ajax requests