ignore invalid characters when calculating output descriptor checksum

This commit is contained in:
Craig Raw 2022-09-26 13:47:54 +02:00
parent 189ef88b08
commit 60cb3ed85f

View file

@ -401,7 +401,7 @@ public class OutputDescriptor {
int pos = INPUT_CHARSET.indexOf(ch);
if(pos < 0) {
return "";
continue;
}
c = polyMod(c, pos & 31); // Emit a symbol for the position inside the group, for every character.