Skip to content

Support image server url ending with %2F

I'm trying to remove the IIIF local servers from online arkindex instances and rely on IIIF cluster instead.

I'm testing the removal on the preprod instance, but I'm blocked because the backend does not support IIIF urls ending with %2F and instead appends a / which build an invalid IIIF url.

To clarify, an image nicely created through CreateImage with ID 6fc2042d-01da-4867-ad8c-04dd42ff5a34 and local server set to https://europe-gamma.iiif.teklia.com/iiif/2/preprod-arkindex-iiif%2F:

  • gives me https://europe-gamma.iiif.teklia.com/iiif/2/preprod-arkindex-iiif%2F/6fc2042d-01da-4867-ad8c-04dd42ff5a34
  • instead of https://europe-gamma.iiif.teklia.com/iiif/2/preprod-arkindex-iiif%2F6fc2042d-01da-4867-ad8c-04dd42ff5a34

Here is the import task that failed.