We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4159c3 commit 2102b7cCopy full SHA for 2102b7c
lib/hooks/app/helpers.rb
@@ -95,7 +95,6 @@ def load_handler(handler_class_name)
95
def safe_json_parse(json_string)
96
# Security limits for JSON parsing
97
max_nesting = ENV.fetch("JSON_MAX_NESTING", "20").to_i
98
- max_create_depth = ENV.fetch("JSON_MAX_CREATE_DEPTH", "15").to_i
99
100
# Additional size check before parsing
101
if json_string.length > ENV.fetch("JSON_MAX_SIZE", "10485760").to_i # 10MB default
0 commit comments