Modify the regex for name on import public key form
This patch fix does not match the regex in horizon and nova [1].
The service supports underscores, but the restriction imposed in horizon
is different, so the regex is updated.
[1]
"name": {
title: gettext("Key Pair Name"),
type: "string",
- pattern: "^[A-Za-z0-9 -]+$"
+ pattern: "^[A-Za-z0-9 _-]+$"
},
"key_type": {
title: gettext("Key Type"),
