Valid chars for InfluxDB password?

What are valid chars for passwords as an error was received entering a password that had alphanumeric plus space, underscore, and hyphen? Password length was 17 chars.


pwdInput.pattern = “^[A-Za-z0-9_!%@#]{0,16}”;

This is the regular expression that validates the password.
It should allow any password composed of the characters: A-Z a-z 0-9 _!%@#
length is 1-16 characters

So no space and no hyphen allowed.

Thanks for the quick response!