loris-imageserver / loris

Loris IIIF Image Server
Other
209 stars 87 forks source link

Unicode characters #474

Open JohnMulligan opened 5 years ago

JohnMulligan commented 5 years ago

Hi all, cannot seem to get Loris to accept any id's with unicode characters: For instance, "loris/IMG_7727é.JPG" comes out of constants.py as "loris/IMG_7727\xc3\xa9.JPG" and this breaks around line 295 of webapp.py. These also break: IMG_7727%C3%A9.JPG IMG_7727%E9.JPG

I see a fix to a similar problem here: https://github.com/inveniosoftware/invenio-iiif/pull/7/files