You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i found a small bug with special characters in the path.
We have a path like: _c:\name & name GmbH_ which is somehow handled as _c:\name & name GmbH_ so the length calculation is wrong for e.g. var dir_tmp = getDirNameAndPath(SelectedFolderID).substring(sourceRoot.length); In this example it will produce always a "subfolder" "GmbH" (the 4 extra characters).
i fixed it dirty for me by adding a .replace(/&/g, '&'); on the return of the getDirNameAndPath function. Im not very into JavaScript so i dont know a better solution. Maybe someone can fix it more properly and generic and make a PR.
PS: thank you for this project!
The text was updated successfully, but these errors were encountered:
Hi,
i found a small bug with special characters in the path.
We have a path like: _c:\name & name GmbH_ which is somehow handled as _c:\name & name GmbH_ so the length calculation is wrong for e.g.
var dir_tmp = getDirNameAndPath(SelectedFolderID).substring(sourceRoot.length);
In this example it will produce always a "subfolder" "GmbH" (the 4 extra characters).i fixed it dirty for me by adding a
.replace(/&/g, '&');
on the return of thegetDirNameAndPath
function. Im not very into JavaScript so i dont know a better solution. Maybe someone can fix it more properly and generic and make a PR.PS: thank you for this project!
The text was updated successfully, but these errors were encountered: