diff --git a/tools/redirect-bypass/main.js b/tools/redirect-bypass/main.js index f465663..84d334a 100644 --- a/tools/redirect-bypass/main.js +++ b/tools/redirect-bypass/main.js @@ -58,6 +58,14 @@ function extractFromPath(path){ } } }); + let maybeurlpartshttps = "https://" + path.split("https://")[0]; + if(isvalidURL(maybeurlpartshttps)){ + foundurls.push(maybeurlpartshttps) + } + let maybeurlpartshttp = "http://" + path.split("http://")[0]; + if(isvalidURL(maybeurlpartshttp)){ + foundurls.push(maybeurlpartshttp) + } return foundurls; }