Software /
code /
prosody
Diff
util-src/encodings.c @ 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 |
parent | 9153:26c5a4a14905 |
child | 9976:0e2f663d0714 |
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);