Wizard: edit validation of port format in the Firewall step
Fixes #3269
This commit is contained in:
parent
42d7379a6c
commit
310f7a05cf
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ export const isKernelArgumentValid = (arg: string) => {
|
|||
};
|
||||
|
||||
export const isPortValid = (port: string) => {
|
||||
return /^(\d{1,5}|[a-z]{1,6})(-\d{1,5})?:[a-z]{1,6}$/.test(port);
|
||||
return /^(\d{1,5}|[a-z]{1,6})(-\d{1,5})?[:/][a-z]{1,6}$/.test(port);
|
||||
};
|
||||
|
||||
export const isServiceValid = (service: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue