Skip to content

Commit be50c80

Browse files
committed
Annotations: Allow @ in URLs.
1 parent 5b142ed commit be50c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ingress/annotations/parser/validators.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var (
4444
alphaNumericChars = `\-\.\_\~a-zA-Z0-9\/:`
4545
extendedAlphaNumeric = alphaNumericChars + ", "
4646
regexEnabledChars = regexp.QuoteMeta(`^$[](){}*+?|&=\`)
47-
urlEnabledChars = regexp.QuoteMeta(`,:?&=`)
47+
urlEnabledChars = regexp.QuoteMeta(`@,:?&=`)
4848
)
4949

5050
// IsValidRegex checks if the tested string can be used as a regex, but without any weird character.

0 commit comments

Comments
 (0)