added suggestion to preserve file extensions in WORM and URL keys
This commit is contained in:
parent
43a8c564a0
commit
01f7721d56
1 changed files with 1 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Right now, when computing a WORM key from a relative path or a URL key from a URL, if the original string is longer than a SHA256 checksum, its tail is replaced with its md5. Unfortunately, this eats up the file extension(s) at the end, causing the issues that *E backends solve. It would be better to keep the tail of the path and replace the start or the middle with the md5, preserving extensions (as configured in annex.maxextensionlength) the same way *E backends do. Maybe also, add a config option for the length beyond which the replacement-with-checksum happens?
|
Loading…
Reference in a new issue