Skip to content

APIRule add support to host ports #2562

@mloebens

Description

@mloebens

Description

Requests where host header contains an explicit port are currently not supported by APIRule.

If I allow the host "domain.com" in the APIRule, it will not allow a request with host "domain.com:443" through and it will throw an RBAC authorization error.

Reasons

According with the HTTP specs, the port can be omitted when http 80 or https 443 but that is not a rule.

As APIRule does not support it automatically a workaround is required, causing the logic to be spread in more than one location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions