Symfony: email address as request parameter in Symfony 5.3

Viewed 27

Does anyone have an idea about the following problem: I have a route like this in my controller in Symfony

  • @Route("/api/user/check_email/{email}/{public}",name="check_email",methods={"get"},defaults={"public":0})

and when I check on the browser http://localhost:8080/api/user/check_email/test@gmail, it returns me a result but on the other hand when I do http://localhost:8080/api/user/check_email/test@gmail.com, it can't find the request and what I noticed is that Symfony doesn't take the dot "."

0 Answers
Related