Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1309

Check for header first in RangerCSRFPreventionFilter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.7.0
    • 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.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: