mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
HttpBinaryCacheStore: Remove *all* trailing slashes
This commit is contained in:
parent
dd26f41379
commit
850c9a6caf
@ -49,7 +49,7 @@ public:
|
||||
, BinaryCacheStore(params)
|
||||
, cacheUri(scheme + "://" + _cacheUri)
|
||||
{
|
||||
if (cacheUri.back() == '/')
|
||||
while (!cacheUri.empty() && cacheUri.back() == '/')
|
||||
cacheUri.pop_back();
|
||||
|
||||
diskCache = getNarInfoDiskCache();
|
||||
|
Loading…
Reference in New Issue
Block a user