-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55581/
-----------------------------------------------------------

Review request for ranger.


Bugs: RANGER-1309
    https://issues.apache.org/jira/browse/RANGER-1309


Repository: ranger


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.


Diffs
-----

  
security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerCSRFPreventionFilter.java
 4942eb3 

Diff: https://reviews.apache.org/r/55581/diff/


Testing
-------


Thanks,

Colm O hEigeartaigh

Reply via email to