RCOSDP / RDM-osf.io

Facilitating Open Science
https://rcos.nii.ac.jp
Apache License 2.0
13 stars 24 forks source link

Fixed bug: Fail when uploading folder on macOS #356

Closed tma-ntphat closed 1 year ago

tma-ntphat commented 1 year ago

Purpose

Error case: On macOS, in the folder upload function, if the folder name contains an NFD normalized concatenated string, the process fails. When checking whether a folder has been created or not, we compare the current folder with the folders uploaded. The difference between the two is that the folder name uses a Japanese character string that includes voiced sounds.

Fixed bug.

Changes

website/static/js/fangorn.js L1290: use encodeURI function L1304: currentFolder.parent -> currentFolder.node_parent

QA Notes

Documentation

Side Effects

Ticket