1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

Add IPv4 url support (and others beginning by a digit)

This commit is contained in:
nicofrand 2013-08-24 16:50:28 +02:00
parent 38b95e7be9
commit 149df445d6

View File

@ -27,7 +27,7 @@ class Url
public function isCorrect()
{
return filter_var($this->url, FILTER_VALIDATE_URL);
return filter_var($this->url, FILTER_VALIDATE_URL) !== FALSE;
}
public function clean()