mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +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 ($logo) {
|
||||||
if (file_exists($logo->getPath())) {
|
if (file_exists($logo->getPath())) {
|
||||||
$safeName = str($meetup->name)
|
$safeName = str($meetup->name)
|
||||||
|
->ascii()
|
||||||
->replaceMatches('/[^a-zA-Z0-9\s\-_]/', '')
|
->replaceMatches('/[^a-zA-Z0-9\s\-_]/', '')
|
||||||
->studly();
|
->studly();
|
||||||
Storage::disk('public')
|
Storage::disk('public')
|
||||||
|
|||||||
Reference in New Issue
Block a user