Skip to content

Ensure secured API key param restrictSources only accepts string #578

@aseure

Description

@aseure

When generating secured API keys, an optional restrictSources
parameter can be used as a string (such as "192.168.1.0" or
"192.168.1.0/24"). We discovered that some API clients wrongly accept other
types (such a list of strings, etc.) which is wrong.

Could you make sure that restrictSources only accepts string as a valid type
as a secured API keys parameter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions