Bump utils version which contains ~ as an invalid first character for a

postal address.
This commit is contained in:
Rebecca Law
2021-05-25 07:57:51 +01:00
parent 70ff00f2c3
commit bd1498f49f
4 changed files with 17 additions and 13 deletions

View File

@@ -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