Merge pull request #3715 from infinit89/patch-1

[ci skip] Fix pagination links with protocol-relative URLs