Closed hydrosIII closed 6 months ago
This is not a bug, but a feature. It may avoid some securities issues.
If you want to keep "(" and ")", you can remove them in two lines https://github.com/Daniel-KM/Omeka-S-module-ArchiveRepertory/blob/master/src/File/FileManager.php#L466:
$string = preg_replace('/[\{]/', '[', $string);
$string = preg_replace('/[\}]/', ']', $string);
or simpler:
$string = str_replace('{', '[', $string);
$string = str_replace('}', ']', $string);
Thanks.
Hi. Currently I have an issue with this. It is a small error, but currently the plugin is turning all ( characters into [, and ) into ]. Thus modifying the names of the images.
Thanks.