Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-4750

AllowOnlyFilter fails with 500 when forwarded header malformed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0, 7.0.0-micsvc-1.0.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      IG 7.0.0-SNAPSHOT (b9fd3dec843)
      Java OpenJDK 11.0.7
    • Story Points:
      1

      Description

      If you send a malformed forwarded header (while having configured AllowOnlyFilter with IP list), e.g. string "1.2.3.4" (and no "for=1.2.3.4"), request will fail with 500.

      As discussed with Nils Renaud it should continue to another check instead.

        Attachments

          Activity

            People

            Assignee:
            nils.renaud Nils Renaud
            Reporter:
            jan.hajovsky Jan Hajovsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: