diff options
author | Kim Alvefur <zash@zash.se> | 2021-10-28 13:00:24 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-10-28 13:00:24 +0200 |
commit | 1a0be02fe85a105c48b82aac82c6d082a08f25b0 (patch) | |
tree | 888de051608f03aa1d5a346abc6a218df9409d33 /net/http/codes.lua | |
parent | 9a080dc12e5692dcfceaf427a33013085e6f4b72 (diff) | |
download | prosody-1a0be02fe85a105c48b82aac82c6d082a08f25b0.tar.gz prosody-1a0be02fe85a105c48b82aac82c6d082a08f25b0.zip |
util.dataforms: Ensure larger integers are serialized as such
Assumes that most number fields are integers, as most numeric types
listed in XEP-0122 are, as are all such fields in Prosody as of this.
Otherwise %g produces something like 1.1259e+15
Diffstat (limited to 'net/http/codes.lua')
0 files changed, 0 insertions, 0 deletions