From e802fe503003c3b9e36c2b0f672774a6dda71b7d Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 8 Nov 2024 18:40:57 +1100 Subject: [PATCH] Echoarea tag can have a period --- app/Http/Controllers/EchoareaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/EchoareaController.php b/app/Http/Controllers/EchoareaController.php index c2fb5b5..6c28a82 100644 --- a/app/Http/Controllers/EchoareaController.php +++ b/app/Http/Controllers/EchoareaController.php @@ -18,7 +18,7 @@ class EchoareaController extends Controller $request->validate([ 'domain_id' => 'required|exists:domains,id', - 'name' => 'required|min:4|max:35|regex:/^[a-zA-Z0-9\-_~]{4,}$/|unique:echoareas,name,'.($o->exists ? $o->id : 0), + 'name' => 'required|min:4|max:35|regex:/^[a-zA-Z0-9\-_~.]{4,}$/|unique:echoareas,name,'.($o->exists ? $o->id : 0), 'description' => 'required', 'active' => 'required|boolean', 'show' => 'required|boolean',