We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5a7d57 commit 191e958Copy full SHA for 191e958
1 file changed
_includes/download-count.js
@@ -11,7 +11,7 @@ var handleApiResponse = function() {
11
);
12
13
var linkHeader = xmlHttp.getResponseHeader("Link");
14
- var nextUrlMatch = linkHeader.match(/<(.+)>; rel="next"/);
+ var nextUrlMatch = linkHeader.match(/<([^<]+)>; rel="next"/);
15
if (nextUrlMatch) {
16
xmlHttp = new XMLHttpRequest();
17
xmlHttp.onreadystatechange = handleApiResponse;
0 commit comments