-
- Downloads
Constrain mail receive addresses and fix case-folding in API
Previously the getmails API endpoint did not match "receive_address" values case-insensitivly like it did pre-v2. To solve this independent of database collations, all existing mail receive addresses are converted to lower-case and new/changed receive addresses are constraint to ASCII lower-case letters, digits and symbols.
Showing
- tests/test_api.py 25 additions, 0 deletionstests/test_api.py
- uffd/api/views.py 1 addition, 1 deletionuffd/api/views.py
- uffd/mail/models.py 18 additions, 0 deletionsuffd/mail/models.py
- uffd/mail/templates/mail/show.html 1 addition, 1 deletionuffd/mail/templates/mail/show.html
- uffd/mail/views.py 4 additions, 0 deletionsuffd/mail/views.py
- uffd/migrations/versions/042879d5e3ac_lower_case_mail_receive_addresses.py 29 additions, 0 deletions...ersions/042879d5e3ac_lower_case_mail_receive_addresses.py
- uffd/translations/de/LC_MESSAGES/messages.mo 0 additions, 0 deletionsuffd/translations/de/LC_MESSAGES/messages.mo
- uffd/translations/de/LC_MESSAGES/messages.po 68 additions, 59 deletionsuffd/translations/de/LC_MESSAGES/messages.po
Loading
Please register or sign in to comment