aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-04-24 18:06:48 +0200
committerKim Alvefur <zash@zash.se>2019-04-24 18:06:48 +0200
commitaac3fbdf9b1eaa0d09aaa1f5d78f9e5cc7c12c03 (patch)
tree6428934ad658fb37297399185cbd51ea8adce98d /util-src
parent196ac28ab5b002063f2b25dc60bd809c707b8ab2 (diff)
parentc42a786ec79fcfe936a3dccde9d0cdf70d6255b0 (diff)
downloadprosody-aac3fbdf9b1eaa0d09aaa1f5d78f9e5cc7c12c03.tar.gz
prosody-aac3fbdf9b1eaa0d09aaa1f5d78f9e5cc7c12c03.zip
Merge 0.11->trunk
Diffstat (limited to 'util-src')
-rw-r--r--util-src/encodings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c
index f7e8131f..e55a3f44 100644
--- a/util-src/encodings.c
+++ b/util-src/encodings.c
@@ -299,7 +299,7 @@ static int icu_stringprep_prep(lua_State *L, const UStringPrepProfile *profile)
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);