Closed sts closed 2 years ago
Hey @sts, could you try the fix-issue-5
branch? I have added validation for nil queries. Still, this is just a debug error, it won't make the transaction fail.
@jptosso patch verified, the message "invalid argument for http request query" is not coming up anymore.
Great, merged into master.
When sending a request without query arguments, coraza-spoa will by default log it as an error, when using the default configuration:
Also the message could be enhanced, giving the user a hint where the error is happening, something like:
spoe received invalid argument in spoe-message for: query. string expected, got <nil>
would make it more clear that the error is happening between haproxy > spoe.