We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91236dd + c8e56b3 commit 952c823Copy full SHA for 952c823
src/libfetchers/tarball.cc
@@ -115,7 +115,7 @@ static DownloadTarballResult downloadTarball_(
115
// it is not in fact a tarball.
116
if (url.rfind("file://", 0) == 0) {
117
// Remove "file://" prefix to get the local file path
118
- std::string localPath = url.substr(7);
+ std::string localPath = percentDecode(url.substr(7));
119
if (!std::filesystem::exists(localPath)) {
120
throw Error("tarball '%s' does not exist.", localPath);
121
}
0 commit comments