Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit e57015a

Browse files
committed
Accept "/" in nmap target locations to support slash ranges
1 parent d87d16d commit e57015a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scb-scanprocesses/nmap-process/src/main/resources/forms/nmap/configure-port-scanner-target.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h3>Portscan Target</h3>
9797
ng-minlength="2"
9898
ng-maxlength="256"
9999
ng-model="target.location"
100-
ng-pattern="/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/"
100+
ng-pattern="/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-\/]*[A-Za-z0-9])$/"
101101
ng-keydown="checkForEnter($event)"
102102
/>
103103
</div>

0 commit comments

Comments
 (0)