Skip to content

Conversation

gustajoh
Copy link
Collaborator

This PR implements the change and adds one test for testing the handling of unescaped control characters in strict mode, closes #11

LMC117 and others added 5 commits February 24, 2023 10:23
…ntrol characters (U+0000 through U+001F) and throw exceptions.
# Conflicts:
#	gson/src/main/java/com/google/gson/stream/JsonReader.java
…ntrol characters (U+0000 through U+001F) and throw exceptions.
…cter handling in strict mode and moved the implementation to nextQuotedValue
…cter handling in strict mode and moved the implementation to nextQuotedValue
…ntrol-characters-u+0000-through-u+001f-in-strict-mode
…-not-allow-unescaped-control-characters-u+0000-through-u+001f-in-strict-mode

# Conflicts:
#	gson/src/main/java/com/google/gson/stream/JsonReader.java
@marten-voorberg marten-voorberg merged commit d506d00 into master Feb 27, 2023
@marten-voorberg marten-voorberg deleted the 5-jsonreader-should-not-allow-unescaped-control-characters-u+0000-through-u+001f-in-strict-mode branch February 27, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests for unescaped control characters handling JsonReader should not allow unescaped control characters (U+0000 through U+001F) in strict mode
3 participants