aboutsummaryrefslogtreecommitdiffstats
path: root/art
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-05-14 15:25:52 +0200
committerAndreas Straub <andy@strb.org>2015-05-14 15:52:55 +0200
commitb69ee7125d49493bea86c6e3095f1236ad895980 (patch)
treecf1b5ceb0d1a6c2a45c56c255614cc1d73ccdbf6 /art
parent8dfa701043d6e442f24edeb4fec48e9d07377a90 (diff)
Force Nameprepping of JID domain parts
The IDN.toAscii()/IDN.toUnicode() family only namepreps the original domain passed to it if it contained non-ASCII characters. This means that for all-ASCII domains, no canonicalization is performed, which leads to issues like case-sensitivity. This workaround explicitly namepreps domain parts before calling IDN.toAscii() on them, in order to get a canonicalized representation (most notably, case invariance). A basic DB migration is also included.
Diffstat (limited to 'art')
0 files changed, 0 insertions, 0 deletions