mirror of
https://github.com/GSA/notifications-api.git
synced 2026-06-02 20:38:43 -04:00
Update notifications-utils version.
Postal address validation now includes `< >` in the invalid characters allowed at the start of an address line.
This commit is contained in:
@@ -251,7 +251,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