Add rdp as a supported protocol in URL validation

This commit is contained in:
Joel Miles 2019-03-07 11:17:13 -06:00 committed by GitHub
parent 07a409ffef
commit e424d9b6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import (
const defaultScheme = "http"
var supportedProtocol = [2]string{"http", "https"}
var supportedProtocol = [2]string{"http", "https", "rdp"}
func ValidateHostname(hostname string) (string, error) {
if hostname == "" {