andytanoko / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
0 stars 0 forks source link

1.4 JavaScript codec throws exception encoding 0x100 #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. checkout 1.4 trunk pre 910
2. encoded 0x100 with JavScriptCodec

What is the expected output? What do you see instead?
"\u0100", IndexOutOfRangeException(-1)

Please use labels and text to provide additional information.

If statement is checking for <= 256 instead of < 256.

Original issue reported on code.google.com by schal...@darkmist.net on 14 Dec 2009 at 2:04

GoogleCodeExporter commented 8 years ago
fixed in revision 910

Original comment by schal...@darkmist.net on 14 Dec 2009 at 2:36