ICU-7144 remove label separators from the base exclusion set

X-SVN-Rev: 27886
This commit is contained in:
Markus Scherer 2010-03-30 23:33:50 +00:00
parent d0a3f751a8
commit 0c7723b943

View File

@ -181,7 +181,7 @@ main(int argc, const char *argv[]) {
if(
namePrepStatus>0 ?
// c is valid or mapped in IDNA2003
namePrepResult!=mapping :
!labelSeparators.contains(c) && namePrepResult!=mapping :
// namePrepStatus<0: c is prohibited in IDNA2003
baseValidSet.contains(c) || (cString!=mapping && baseValidSet.containsAll(mapping))
) {