aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index de2d43b..39e9fd2 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -387,7 +387,8 @@ local checkTimeouts = function(host, scheme, URL)
387 totalTimeouts = totalTimeouts + timeouts; timeouts = 0 387 totalTimeouts = totalTimeouts + timeouts; timeouts = 0
388 checkHEAD(host, scheme .. "://" .. URL) 388 checkHEAD(host, scheme .. "://" .. URL)
389 if APT.testing("URLSanity") then 389 if APT.testing("URLSanity") then
390 URL = URL:gsub("merged/", "merged///") 390 URL = URL:gsub("/", "///")
391 URL = URL:gsub("///", "/", 1)
391 checkHEAD(host, scheme .. "://" .. URL, 0, 0, true) 392 checkHEAD(host, scheme .. "://" .. URL, 0, 0, true)
392 end 393 end
393 if nil ~= cor then 394 if nil ~= cor then