mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
fix: more permissive protocol alphabet
This commit is contained in:
parent
1fd1cb6a1a
commit
160f662bb7
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ func ValidateLengthAndCharset(value string, maxLength int, alphabet string) (str
|
|||
}
|
||||
|
||||
func ValidateProtocolParam(value string) (string, error) {
|
||||
return ValidateLengthAndCharset(value, 80, "ID_AS:.abcdef1234567890")
|
||||
return ValidateLengthAndCharset(value, 80, "ABCDEFGHIJKLMNOPQRSTUVWXYZ_:.abcdefghijklmnopqrstuvwxyz1234567890")
|
||||
}
|
||||
|
||||
func ValidatePrefixParam(value string) (string, error) {
|
||||
|
|
Loading…
Add table
Reference in a new issue