Fix double URL-encoded image paths
Some images with URL-encodable characters in their paths (the image-specific part of the URL, not including the server's root URL). This is true for 45 images in the 500 manifests Horae corpus.
https://adore.ugent.be/IIIF/images/archive.ugent.be%3A7F0C4994-C579-11E7-8646-155E6EE4309A%3ADS.179/info.json
would be modified into https://adore.ugent.be/IIIF/images/archive.ugent.be%253A7F0C4994-C579-11E7-8646-155E6EE4309A%253ADS.179/info.json
(%25
instead of %
)
Merge request reports
Activity
added 2 commits
Codecov Report
Merging #202 into master will increase coverage by
0.02%
. The diff coverage is90%
.@@ Coverage Diff @@ ## master #202 +/- ## ========================================== + Coverage 77.06% 77.09% +0.02% ========================================== Files 186 187 +1 Lines 8408 8417 +9 ========================================== + Hits 6480 6489 +9 Misses 1928 1928
Impacted Files Coverage Δ arkindex/images/models.py 35.2% <0%> (ø)
arkindex/images/tests.py 100% <100%> (ø)
arkindex/images/migrations/0007_fix_paths.py 100% <100%> (ø)
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d66b157...e7f4a3a. Read the comment docs.Edited by Bastien Abadieadded 3 commits
-
4481e3f4...d66b1576 - 2 commits from branch
master
- e7f4a3aa - Fix double URL-encoded image paths
-
4481e3f4...d66b1576 - 2 commits from branch
enabled an automatic merge when the pipeline for e7f4a3aa succeeds
mentioned in commit 7e129760