Merge pull request #2351 from Leftbrained/feature/remove-slashes-from-package-archive-filename
Remove slashes from package archive filenamepull/2376/head
commit
a2a70380c1
|
@ -83,9 +83,11 @@ class ArchiveManager
|
|||
$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 str_replace('/', '-', $name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue