Allow to detect if a string is a valid IP address

Authored by dereckson on Apr 16 2018, 23:57.

Description

Allow to detect if a string is a valid IP address

Summary:
Wrapper for filter_var to validate IPv4 and IPv6

Moved from rKGF. See rKGF6d7228f24fc3.

Test Plan: Unit tests provided

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1608

Details

Committed
derecksonApr 17 2018, 00:03
Pushed
derecksonApr 17 2018, 00:03
Reviewer
dereckson
Differential Revision
D1608: Allow to detect if a string is a valid IP address
Parents
rKOT6a62434da5e7: Use an empty string as default encoding argument for encoding
Branches
Unknown
Tags
Unknown