algoliasearch-client-scala icon indicating copy to clipboard operation
algoliasearch-client-scala copied to clipboard

Ensure secured API key param `restrictSources` only accepts string

Open aseure opened this issue 4 years ago • 0 comments

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?

aseure avatar Mar 12 '20 09:03 aseure