mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 21:48:25 -04:00
Merge pull request #3899 from alphagov/bump-utils-new-invalid-address-char
Bump utils version for new invalid address character
This commit is contained in:
@@ -1413,7 +1413,7 @@ class LetterAddressForm(StripWhitespaceForm):
|
||||
|
||||
if address.has_invalid_characters:
|
||||
raise ValidationError(
|
||||
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >'
|
||||
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < > ~'
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
Last line of the address must be a real UK postcode
|
||||
{% endif %}
|
||||
{% elif item.as_postal_address.has_invalid_characters %}
|
||||
Address lines must not start with any of the following characters: @ ( ) = [ ] ” \ / , < >
|
||||
Address lines must not start with any of the following characters: @ ( ) = [ ] ” \ / , < > ~
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endcall %}
|
||||
|
||||
@@ -559,11 +559,11 @@ LETTER_VALIDATION_MESSAGES = {
|
||||
'invalid-char-in-address': {
|
||||
'title': 'There’s a problem with the address for this letter',
|
||||
'detail': (
|
||||
"Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >"
|
||||
"Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < > ~"
|
||||
),
|
||||
'summary': (
|
||||
"Validation failed because address lines must not start with any of the "
|
||||
"following characters: @ ( ) = [ ] ” \\ / , < >"
|
||||
"following characters: @ ( ) = [ ] ” \\ / , < > ~"
|
||||
),
|
||||
},
|
||||
'notify-tag-found-in-content': {
|
||||
|
||||
Reference in New Issue
Block a user