Skip to content

Commit 30b39d9

Browse files
committed
Allow ~ in keys for escaped json pointer characters
Signed-off-by: Taylor Gray <tylgry@amazon.com>
1 parent 331011c commit 30b39d9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

data-prepper-api/src/main/java/org/opensearch/dataprepper/model/event/JacksonEventKey.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ private static boolean isValidKey(final String key) {
159159
|| c == '-'
160160
|| c == '_'
161161
|| c == '@'
162+
|| c == '~'
162163
|| c == '/'
163164
|| c == '['
164165
|| c == ']')) {

0 commit comments

Comments
 (0)