summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
diff options
context:
space:
mode:
authorrajatsharma94 <rajat.shrma94@gmail.com>2015-07-23 15:35:17 +0200
committerrajatsharma94 <rajat.shrma94@gmail.com>2015-07-23 15:35:17 +0200
commitd2f63a1803503a09b2d92d4aedd793636d470c7b (patch)
tree7086b9174c19eca891425d96d209af30ef5f9901 /system/helpers/url_helper.php
parent5545dcdc170eca21c3d2c91e10556698f9512643 (diff)
IP checking false positives and no ipv6 check
The currently implemented method marks all IPs between 0.0.0.0 - 999.999.999.999 as valid IP Address. Which generates false positives as any IP after 255.255.255.255 is not a valid IP address. Also, there is no check for IPv6 IP addresses. filter_var() solves both the issues.
Diffstat (limited to 'system/helpers/url_helper.php')
0 files changed, 0 insertions, 0 deletions