Merge remote-tracking branch 'parent/main' into upstream-20241216
This commit is contained in:
commit
3784ad273c
555 changed files with 7564 additions and 3363 deletions
|
@ -4,7 +4,7 @@ class DomainValidator < ActiveModel::EachValidator
|
|||
MAX_DOMAIN_LENGTH = 256
|
||||
MIN_LABEL_LENGTH = 1
|
||||
MAX_LABEL_LENGTH = 63
|
||||
ALLOWED_CHARACTERS_RE = /^[a-z0-9\-]+$/i
|
||||
ALLOWED_CHARACTERS_RE = /^[a-z0-9-]+$/i
|
||||
|
||||
def validate_each(record, attribute, value)
|
||||
return if value.blank?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue