Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
In the RangerCSRFPreventionFilter, we should check to see if the required header is present first, for efficiency reasons. Right now we check the user agent first, which involves a call to matcher.matches() on each of the (default) browser user agent Strings.