opentable/hobknob

Fix alphanumeric validation and behaviour

Opened this issue · 0 comments

lobut commented

There are two issues with the character validation.

Using punctuation as a part of the name alongside other characters
Certain characters can bypass the validation check when creating an application name.

For example, '.' can be created as an application or feature name. Still valid, but it is not alphanumeric, so we should update the error checking/message.

Using solely '.' character for the name
Also, if it contains only the '.' character, it seems to only be stored client-side and disappears after a refresh of the page when using less than three dots. If you use three or more dots, then it stored successfully.

Also, the hyphen is an acceptable character.