Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

zend-validator 2.9.2

Compare
Choose a tag to compare
@weierophinney weierophinney released this 20 Jul 16:46
· 367 commits to master since this release

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #180 fixes how Zend\Validator\File\MimeType "closes" the open FileInfo handle for the file being validated, using unset() instead of finfo_close(); this resolves a segfault that occurs on older PHP versions.
  • #174 fixes how Zend\Validator\Between handles two situations: (1) when a non-numeric value is validated against numeric min/max values, and (2) when a numeric value is validated against non-numeric min/max values. Previously, these incorrectly validated as true; now they are marked invalid.