You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using restpath with a final argument against a URL that has either a query string or extra path info, this data is incorrectly included in the argument.
Description
When using restpath with a final argument against a URL that has either a query string or extra path info, this data is incorrectly included in the argument.
Steps to reproduce
As an example, take the @restpath example from the coraza documentation (https://coraza.io/docs/seclang/operators/):
If we try using the value of the
name
parameter in a subsequent rule, and then send a query string like:/some/random/url/123/foo?q=query
Expected result
What should happen?
In this case, the value of
name
should befoo
.Actual result
What happened.
The value of
name
here isfoo?q=query
The text was updated successfully, but these errors were encountered: