fix regex

This commit is contained in:
osmarks 2020-03-15 18:36:22 +00:00
parent 62eca4af08
commit d7b33c2753
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ url: /infipage/p
var prev = document.querySelector("#prev"), next = document.querySelector("#next"), count = document.querySelector("#pagecount"), main = document.querySelector("#main"), error = document.querySelector("#error")
function loadPage() {
try {
var afterSlash = /infipage\/([A-Za-z0-9_=-]*)/.exec(window.location.pathname)[1]
var afterSlash = /infipage\/([A-Za-z0-9_~.:@-]*)/.exec(window.location.pathname)[1]
page = decodeBignum(afterSlash)
} catch(e) {
console.warn("Page Number Decode Failure")