mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-13 11:46:47 +00:00
🛠️ Ensure meetup names are converted to ASCII before sanitizing in ExtractLogos command
This commit is contained in:
@@ -36,6 +36,7 @@ class ExtractLogos extends Command
|
||||
if ($logo) {
|
||||
if (file_exists($logo->getPath())) {
|
||||
$safeName = str($meetup->name)
|
||||
->ascii()
|
||||
->replaceMatches('/[^a-zA-Z0-9\s\-_]/', '')
|
||||
->studly();
|
||||
Storage::disk('public')
|
||||
|
||||
Reference in New Issue
Block a user