label-studio
label-studio copied to clipboard
Issue with File Link Transformation in Label Studio on Windows: Backslashes Transformed to %5C, Resulting in Broken Links
Describe the bug When using Label Studio on Windows and importing files via "Local files" as the source target, the files are successfully recognized and displayed in the project. However, an issue arises when attempting to load the files in the browser. Upon inspecting the task source, it is observed that backslashes in links are transformed into %5C, resulting in broken links.
Environment (please complete the following information):
- OS: Windows 11
- Label Studio Version 1.10.0
Thanks, I'm bringing this to the team to see if it's something we can fix. One thing that might help is to run Label Studio inside of a Docker container and serve the files from there, as the unix-style filenames will process correctly.
+1
The documentation makes it seem like this is possible but it doesn't work for me and it seems that this issue has been present since at least December. The documentation should be updated to at the very least state that local storage is not possible on Windows and that docker should be used instead (assuming that works). I will report back if docker fixes this issue.
@umarbutler which LS version do you use? We tried to reproduce this on windows, but everything worked as expected. Could you write steps to reproduce it please?