web.net.validipaddr('192 .168. 1.1 ') should be False (ip address with space)
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 1.3k
Closed
Description
opened
on Feb 14, 2012' 192. 168. 1.2 ' is not a valid ip addr :)
Returns True if `address` is a valid IPv4 address.
>>> validipaddr('192.168.1.1')
True
>>> validipaddr('192.168.1.800')
False
>>> validipaddr('192.168.1')
False
>>> validipaddr('192 .168. 1.1 ')
False
Metadata
Metadata
Assignees
Labels
No labels
No labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions