mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-19 09:36:47 +02:00
HttpBinaryCacheStore: Remove *all* trailing slashes
This commit is contained in:
parent
dd26f41379
commit
850c9a6caf
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue