diegorubin/tshield

[Request Matching] Error being raised when the content file is empty

Closed this issue · 0 comments

Describe the bug
Using request matching with body attribute pointing to a content file, if that content file doesn't have an empty ending line an error is raised

To Reproduce
docker.tar.gz

Remove the ending line from file tshield/matching/examples/content.json

Expected behavior
Work as designed