aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xmirror-checker.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirror-checker.lua b/mirror-checker.lua
index b49c725..71c9c34 100755
--- a/mirror-checker.lua
+++ b/mirror-checker.lua
@@ -255,7 +255,7 @@ checkHEAD = function (host, URL, r, retry)
255 elseif nil == pu.host then 255 elseif nil == pu.host then
256 I(" relative redirect. " .. check .. " " .. host .. " -> " .. URL .. " -> " .. l) 256 I(" relative redirect. " .. check .. " " .. host .. " -> " .. URL .. " -> " .. l)
257 checkHEAD(host, PU.scheme .. "://" .. PU.host .. l, r + 1) 257 checkHEAD(host, PU.scheme .. "://" .. PU.host .. l, r + 1)
258 elseif PU.host == pu.host then 258 elseif (PU.host == pu.host) or (host == pu.host) then
259 checkHEAD(pu.host, l, r + 1) 259 checkHEAD(pu.host, l, r + 1)
260 else 260 else
261 --[[ The hard part here is that we end up throwing ALL of the test files at the redirected location. 261 --[[ The hard part here is that we end up throwing ALL of the test files at the redirected location.