Skip to content

Commit

Permalink
Check UriCompliance.Violation.ALLOW_BAD_UTF8 in core query parameter …
Browse files Browse the repository at this point in the history
…extraction.
  • Loading branch information
gregw committed Feb 14, 2025
1 parent 2c00082 commit e9ad5cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static Stream<Arguments> invalidData()
Arguments.of(List.of("name%"), UTF_8, -1, -1, IllegalStateException.class),
Arguments.of(List.of("name%A"), UTF_8, -1, -1, IllegalStateException.class),

Arguments.of(List.of("name%A="), UTF_8, -1, -1, CharacterCodingException.class),
Arguments.of(List.of("name%A="), UTF_8, -1, -1, IllegalArgumentException.class),
Arguments.of(List.of("name%A&"), UTF_8, -1, -1, IllegalArgumentException.class),

Arguments.of(List.of("name=%"), UTF_8, -1, -1, IllegalStateException.class),
Expand Down

0 comments on commit e9ad5cd

Please sign in to comment.