mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Bump utils version which contains ~ as an invalid first character for a
postal address.
This commit is contained in:
@@ -265,7 +265,7 @@ def validate_address(service, letter_data):
|
||||
)
|
||||
if address.has_invalid_characters:
|
||||
raise ValidationError(
|
||||
message='Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >'
|
||||
message='Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < > ~'
|
||||
)
|
||||
if address.international:
|
||||
return address.postage
|
||||
|
||||
Reference in New Issue
Block a user