When parsing the input we were not using the right constant when calling ruby_to_object. The constant previously used was DDWAF_MAX_CONTAINER_SIZE which is 256. That value was use as the max length a string could be.
That was causing issues with long input types.
Fix: Use the right constant DDWAF_MAX_STRING_LENGTH with a value of 4096
When parsing the input we were not using the right constant when calling
ruby_to_object
. The constant previously used wasDDWAF_MAX_CONTAINER_SIZE
which is 256. That value was use as the max length a string could be.That was causing issues with long input types.
Fix: Use the right constant
DDWAF_MAX_STRING_LENGTH
with a value of 4096