diff --git a/src/Controllers/ApiController.php b/src/Controllers/ApiController.php index 895754d..053b628 100755 --- a/src/Controllers/ApiController.php +++ b/src/Controllers/ApiController.php @@ -667,7 +667,7 @@ class ApiController $this->view->json(['error' => 'Invalid service or action'], 400); } - $sanitized = preg_replace('/[^a-zA-Z0-9\-_]/', '', $service); + $sanitized = preg_replace('/[^a-zA-Z0-9\-_.]/', '', $service); if ($sanitized === '') { $this->view->json(['error' => 'Invalid service name'], 400); }