Add validation to S3 "Access Key" and "Secret Key" fields to prevent use of non-allowed characters
The Access Key field does not allow special characters as per https://redmine.ixsystems.com/issues/28508
These characters are currently allowed to be entered in the webui which causes a non-user friendly error message.
This field needs validation added that will prevent the entry of special characters.
The validation should prevent the user from seeing the error message.
#9 Updated by Michael Reynolds about 2 years ago
- Subject changed from Add validation to S3 "Secret Key" field to prevent use of non-allowed characters to Add validation to S3 "Secret Key" field
- Needs QA changed from Yes to No
- Needs Doc changed from Yes to No
There was no validation on either field before which allowed the entry of @#$%^&*() characters
when any of those characters were entered the user was presented with the error message from the middleware stating that the entry does not conform to the regex ^\w+$
The validator was added for that regex to not allow the special characters to be accepted as input
this prevents the special characters from making it to the middleware and the not very userfriendly error message from displaying