You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2017/01/16 15:49:26 UTC
[jira] [Created] (RANGER-1309) Check for header first in
RangerCSRFPreventionFilter
Colm O hEigeartaigh created RANGER-1309:
-------------------------------------------
Summary: Check for header first in RangerCSRFPreventionFilter
Key: RANGER-1309
URL: https://issues.apache.org/jira/browse/RANGER-1309
Project: Ranger
Issue Type: Improvement
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
Priority: Trivial
Fix For: 0.7.0
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)