Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-py-test committed Oct 5, 2023
1 parent bcd1fb2 commit 9c1bf5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/redirect-bypass/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9c1bf5d

Please sign in to comment.