mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-28 06:11:03 -05:00
S3 can only handle ascii characters, therefore for filename which could include non ascii characters, for example a filename with the character '£' in it, we must encode these using urllib before saving it as s3 metadata. We then also make sure that it comes back decoded when presenting it to the user.