Uploaded image for project: 'Repose'
  1. REP-7387

IP User Filter should return a 400 when the X-Forwarded-For header contains malformed data

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 183 (Jan 17 – Jan 30), Sprint 182 (Dec 6 – Jan 16)
    • Story Points:
      2
    • Capitalizable:
      True

      Description

      Currently, when there is crap data in the X-Forwarded-For header, Repose returns a 500. Instead, we should return a 400.

      Acceptance Criteria

      • When malformed data is in the X-Forwarded-For header, we return a 400 instead of a 500.
        • We expect the header to contain an IP address, so try random values.

        Attachments

          Activity

            People

            • Assignee:
              adrian.george Adrian George
              Reporter:
              mario.lopez Mario Lopez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: