File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/test/java/org/owasp/esapi/codecs/percent Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public class PercentCodecStringTest extends AbstractCodecStringTest {
36
36
* It is being replicated here to allow the test to reasonably expect the correct state back.
37
37
*/
38
38
List <Character > immune = new ArrayList <>();
39
- // 65 - 90 (capital letters) 97 - 122 lower case 48 - 57 digits
39
+ // 65 - 90 (capital letters in ASCII ) 97 - 122 lower case 48 - 57 digits
40
40
//numbers
41
41
for (int index = 48 ; index < 58 ; index ++) {
42
42
immune .add ((char )index );
@@ -57,11 +57,9 @@ public class PercentCodecStringTest extends AbstractCodecStringTest {
57
57
@ Parameters (name = "{0}" )
58
58
public static Collection <Object []> buildTests () {
59
59
Collection <Object []> tests = new ArrayList <>();
60
-
61
60
List <CodecStringTestTuple > tuples = new ArrayList <>();
61
+
62
62
tuples .add (newTuple ("%3C" , "<" ));
63
-
64
- //CODEPOINT tuples.add(newTuple("%C4%80", (char) 0x100));
65
63
tuples .add (newTuple ("%00" , Character .MIN_VALUE ));
66
64
tuples .add (newTuple ("%3D" , '=' ));
67
65
tuples .add (newTuple ("%26" , '&' ));
You can’t perform that action at this time.
0 commit comments