« Previous | Next » 

Revision aa1a0c5f

IDaa1a0c5feb6a95691e3df2f40302b69b9c78dae0

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