Uncaught `ValueError` from `format: date` / `format: time` when the instance contains a NUL byte
#937 · PHP · ★ 3.6k · MIT · updated 13h ago
Validating a string containing a NUL byte against {"type": "string", "format": "date"} throws instead of reporting the instance invalid. <?php require 'vendor/autoload.php'; $validator = new JsonSchema\Validator(); $data = "2020-01-01\x00"; $validator->validate($data,…
replies in ~4h8/11 outside PRs mergedmaintainer left guidancepoints at a filehas CONTRIBUTING
Cleared 1m ago