Remove slashes from package archive filename
parent
f5df1d6a9b
commit
2a8eb9df34
|
@ -83,9 +83,11 @@ class ArchiveManager
|
||||||
$nameParts[] = substr(sha1($package->getSourceReference()), 0, 6);
|
$nameParts[] = substr(sha1($package->getSourceReference()), 0, 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
return implode('-', array_filter($nameParts, function ($p) {
|
$name = implode('-', array_filter($nameParts, function ($p) {
|
||||||
return !empty($p);
|
return !empty($p);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
return str_replace('/', '-', $name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue