ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RANGER-1309) Check for header first in RangerCSRFPreventionFilter
Date Mon, 16 Jan 2017 15:49:26 GMT
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)

Mime
View raw message