I'm working on a website for parkos where clients can make reservations with there email but some clients use a plus sign in their email.
$email = request()->input('email');
Url is wrong because + sign has its own meaning according to CGI standard. It means a whitespace.
Right url shold be
As explained in URLs and plus signs
+ becomes %2B space becomes %20
In order to avoid further mistakes, best practice is encoding text before using it in a URL like this:
$url = "http://" . $domain . "/whatever.php?text=" . urlencode($text);