diff options
author | Andreas Straub <andy@strb.org> | 2015-05-14 15:25:52 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-05-14 15:52:55 +0200 |
commit | b69ee7125d49493bea86c6e3095f1236ad895980 (patch) | |
tree | cf1b5ceb0d1a6c2a45c56c255614cc1d73ccdbf6 /libs/MemorizingTrustManager/example | |
parent | 8dfa701043d6e442f24edeb4fec48e9d07377a90 (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 'libs/MemorizingTrustManager/example')
0 files changed, 0 insertions, 0 deletions