« Previous | Next » 

Revision 744c7593

ID744c7593aaf2faab82a2415a8e17015fd3bc60d0

Added by Robert Lemke over 9 years ago

[BUGFIX] Fix IP address validation

The IP address validation done with filter_var() worked
on the development machine running PHP 5.3.12, however,
it failed on the integration server running PHP 5.3.5.
Apparently, the filter_var options for FILTER_VALIDATE_IP
behave differently in these versions.

This patch removes the validation for IPv4 / IPv6 addresses
because they didn't make sense anyway.

In that regard: hooray for PHP behavior changes. They actually
exploit bad application code. Sometimes.

Change-Id: I0df423b45426c0e65ce5ecbd894be4466816fe05
Releases: 1.1, 1.2
Related: #37584

  • added
  • modified
  • copied
  • renamed
  • deleted