@@ -35,7 +35,7 @@ public final class TypeIdLib {
3535 NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP ,
3636 NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , 0x0A , 0x0B , 0x0C , // a, b, c
3737 0x0D , 0x0E , 0x0F , 0x10 , 0x11 , NOOP , 0x12 , 0x13 , NOOP , 0x14 , // d, e, f, g, h, j, k, m
38- 0x15 , NOOP , 0x16 , 0x17 , 0x18 , 0x19 , 0x1A , NOOP , 0x1B , 0x1C , // n, p, q, r, s, value , v, w
38+ 0x15 , NOOP , 0x16 , 0x17 , 0x18 , 0x19 , 0x1A , NOOP , 0x1B , 0x1C , // n, p, q, r, s, t , v, w
3939 0x1D , 0x1E , 0x1F , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , // x, y, z
4040 NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP ,
4141 NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP , NOOP ,
@@ -191,7 +191,8 @@ private static String validateSuffixOnInput(final String input, final int separa
191191 return "Suffix with illegal length, must be " + SUFFIX_LENGTH ;
192192 }
193193
194- if (((SUFFIX_LOOKUP [input .charAt (start )] >>> 3 ) & 0x3 ) > 0 ) {
194+ final char firstChar = input .charAt (start );
195+ if (firstChar < '0' || firstChar > '7' ) {
195196 return "Illegal leftmost suffix character, must be one of [01234567]" ;
196197 }
197198
0 commit comments