Wizard: Update kernel argument validation regex
There are special characters missing from the validation regex.
This commit is contained in:
parent
894d2a4d76
commit
2bea0bd50b
3 changed files with 4 additions and 4 deletions
|
|
@ -122,7 +122,7 @@ export const isKernelNameValid = (kernelName: string) => {
|
|||
};
|
||||
|
||||
export const isKernelArgumentValid = (arg: string) => {
|
||||
return /^[a-zA-Z0-9=-_,."']*$/.test(arg);
|
||||
return /^[a-zA-Z0-9=\-_,."'/:#+]*$/.test(arg);
|
||||
};
|
||||
|
||||
export const isPortValid = (port: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue