Software / code / prosody
File
.hgignore @ 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 | 8345:850c433eb862 |
line wrap: on
line source
syntax: glob .hgignore .luacheckcache data local www_files html/* prosody.lua prosody.cfg.lua prosody.version config.unix *.patch *.diff *.orig *.rej *.save *~ *.o *.so *.install *.pid *.log *.err *.debug *.dll *.exp *.lib *.obj luacov.report.out luacov.report.out.index luacov.stats.out