Software /
code /
prosody
Changeset
9973:640a2b8e7806 0.11
util.encodings: Allow unassigned code points in ICU mode to match libidn behavior (fixes #1348)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Apr 2019 16:16:19 +0200 |
parents | 9972:240d3f1f7dee |
children | 9975:ca01c449357f 9991:8cd180dc18a8 |
files | util-src/encodings.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/encodings.c Tue Apr 23 19:21:06 2019 +0200 +++ b/util-src/encodings.c Wed Apr 24 16:16:19 2019 +0200 @@ -299,7 +299,7 @@ return 1; } - prepped_len = usprep_prepare(profile, unprepped, unprepped_len, prepped, 1024, 0, NULL, &err); + prepped_len = usprep_prepare(profile, unprepped, unprepped_len, prepped, 1024, USPREP_ALLOW_UNASSIGNED, NULL, &err); if(U_FAILURE(err)) { lua_pushnil(L);