loopline-systems / closeio-api-wrapper

PHP Wrapper to use the Close.io API
MIT License
14 stars 15 forks source link

URLs are not url-encoded before being validated #118

Open omissis opened 3 years ago

omissis commented 3 years ago

Summary

Url validation doesn't work when the url in question includes an umlaut.

Code snippet that reproduces the problem

$lead = new Lead();
$lead->setUrl("https://www.this-is-ä-test.com");

More infos

Urls should be url-encoded before being validated