diff --git a/assets/js/app.js b/assets/js/app.js index 5f7066f..62f891a 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -50,8 +50,8 @@ function validateArchiveUrl(url) { try { const archiveUrl = new URL(url); - var urlPattern = new RegExp("(http|https)://archive.org/details/[a-zA-Z0-9_-]*$") - if (!urlPattern.test(url) ){ + var urlPattern = new RegExp("(http|https)://archive.org/details/[a-zA-Z0-9\._-]*$") + if (!urlPattern.test(url) ) { throw 'Paste and archive.org url'; } } catch (e) {