Skip to content

CIDRWhitelist middleware does not work with Overlay Promotion #261

Description

@MrVips

You'll have to excuse me if this isn't relevant with the latest release but I think it still is.

CIDRWhitelistOpts struct forces you to put a value for the Allow field by validate:"min=1" this breaks the Overlay Promotion for this middleware. From my testing removing the validation makes it work like expected.

I'm guessing you still want this validation so I'm letting you decide how that should be handled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions