buda-base / buda-iiif-presentation

iiif presentation (collections and manifests) generation
Apache License 2.0
0 stars 0 forks source link

500 error with space in filenames #118

Closed eroux closed 2 years ago

eroux commented 2 years ago

for instance when accessing https://iiifpres.bdrc.io/wvo:bdr:MW28732_7A8403::bdr:I4621/manifest there's an error with

java.net.URISyntaxException: Illegal character in path at index 52: https://iiifpres.bdrc.io/v:bdr:I4621/canvas/46210071 .tif
    at java.net.URI$Parser.fail(URI.java:2847)
    at java.net.URI$Parser.checkChars(URI.java:3020)
    at java.net.URI$Parser.parseHierarchical(URI.java:3104)
    at java.net.URI$Parser.parse(URI.java:3052)
    at java.net.URI.<init>(URI.java:588)
    at java.net.URI.create(URI.java:850)
    at de.digitalcollections.iiif.model.sharedcanvas.Resource.<init>(Resource.java:100)
    at de.digitalcollections.iiif.model.sharedcanvas.Canvas.<init>(Canvas.java:41)
    at io.bdrc.iiif.presentation.ManifestService.buildCanvas(ManifestService.java:683)