Fix for relative redirects

main
Elbert Alias 5 years ago
parent 2aca8275c5
commit 97b39037e7

@ -329,7 +329,7 @@ class Site {
if (response.status() >= 300 && response.status() < 400) { if (response.status() >= 300 && response.status() < 400) {
if (this.headers.location) { if (this.headers.location) {
url = new URL(this.headers.location.slice(-1)) url = new URL(this.headers.location.slice(-1), url)
} }
} else { } else {
responseReceived = true responseReceived = true

@ -13,7 +13,7 @@
"software" "software"
], ],
"homepage": "https://www.wappalyzer.com", "homepage": "https://www.wappalyzer.com",
"version": "5.10.3", "version": "6.0.3",
"author": "Wappalyzer", "author": "Wappalyzer",
"license": "MIT", "license": "MIT",
"repository": { "repository": {

Loading…
Cancel
Save