fix(eventbridge): escape JSON Pointer field names (#7034)

This commit is contained in:
Vũ Thế Huy authored and GitHub committed 2026-10-30 14:31:20 -04:00
1 parent 08d7319b4f
commit 06d4fcfa57
2 files changed
+16

No files matched your search

@@ -451,6 +451,7 @@ public class EventBridgeInvoker {
private static String toPointer(String jsonPath) {
return (jsonPath.startsWith("$") ? jsonPath.substring(1) : jsonPath)
.replace("~", "~0").replace("/", "~1")
.replaceAll("\\[(\\d+)\\]", "/$1").replace('.', '/');
}