Skip to content

Commit 19a58d0

Browse files
authored
Merge pull request python-validators#54 from nicbou/patch-1
Added ftp:// URL in example
2 parents aeb8502 + 29e00b8 commit 19a58d0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

validators/url.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ def url(value, public=False):
7171
>>> url('http://foobar.dk')
7272
True
7373
74+
>>> url('ftp://foobar.dk')
75+
True
76+
7477
>>> url('http://10.0.0.1')
7578
True
7679

0 commit comments

Comments
 (0)