Software / code / prosody
Comparison
DEPENDS @ 13867:eabd38507c1d 13.0
util.jsonschema: Fix handling of `false` as schema
Schemas can be either a boolean or a table (object) but since it only
checked for truthiness, the case of `false` would be handled
incorrectly.
There seems to be no tests that cover `then` and `else` being `false`,
only a couple that check the `if` keyword.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 30 Mar 2025 17:27:23 +0200 |
| parent | 8454:90962ef41bf3 |
comparison
equal
deleted
inserted
replaced
| 13854:0b01f40df0f9 | 13867:eabd38507c1d |
|---|