0

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 "."

  • can you try URL encoding the dot? https://stackoverflow.com/questions/6191412/how-to-url-encode-periods just a thought – sniperd Sep 22 '22 at 14:52

0 Answers0