parent
							
								
									5505707884
								
							
						
					
					
						commit
						125bf97667
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -16,7 +16,7 @@ | |||
|       return; | ||||
|     } | ||||
| 
 | ||||
|     $scope.HOSTNAME_REGEX = '^[a-zA-Z-0-9\.]+(:[0-9]+)?$'; | ||||
|     $scope.HOSTNAME_REGEX = '^[a-zA-Z-0-9_\.\-]+(:[0-9]+)?$'; | ||||
| 
 | ||||
|     $scope.validateHostname = function(hostname) { | ||||
|       if (hostname.indexOf('127.0.0.1') == 0 || hostname.indexOf('localhost') == 0) { | ||||
|  |  | |||
		Reference in a new issue