In laravel, I want to check a simple url, for example:
http:
http:
www.google.com
http:
http:
Unfortunately, laravel verification code is like
['redirect_url' => 'required|url']
return falsefor these URLs:
www.google.com
and return true for the address http://www.google, how to check URLs in laravel correctly, this check is not the best check for URLs
user4790312
source
share