Skip to content

Commit

Permalink
Update validate.go (#6684)
Browse files Browse the repository at this point in the history
  • Loading branch information
bznein authored Jun 24, 2024
1 parent 9011851 commit b0ed0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/24-host/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func defaultIdentifierValidator(id string, min, max int) error {
if len(id) < min || len(id) > max {
return errorsmod.Wrapf(ErrInvalidID, "identifier %s has invalid length: %d, must be between %d-%d characters", id, len(id), min, max)
}
// valid id must contain only lower alphabetic characters
// valid id must contain only alphanumeric characters and some allowed symbols.
if !IsValidID(id) {
return errorsmod.Wrapf(
ErrInvalidID,
Expand Down

0 comments on commit b0ed0b4

Please sign in to comment.