Skip to content

Commit

Permalink
remove % from names
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Mar 21, 2024
1 parent 8890984 commit e0c11cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Providers/UploadProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function __construct(
public function upload(string $key, string $red, string $blu, string $name, string $demoFile): string {
$nameParts = explode('/', $name);
$name = array_pop($nameParts);
$name = str_replace('%', '_', $name);

$user = $this->userProvider->byKey($key);
if (!$user || ('' !== $this->uploadKey && $this->uploadKey !== $key)) {
Expand Down

0 comments on commit e0c11cf

Please sign in to comment.