[navigator] don't use ':' as separator in drop event's payload #3650
Labels
enhancement
issues that are enhancements to current functionality - nice to haves
tree
issues related to the tree (ex: tree widget)
When dropping a file from the navigator, the drop target resolves the file by looking at
event.dataTransfer.get('tree-node')
. This yields a string composed of the workspace folder's path, a colon, and the file's path. Using a colon makes it pretty nasty on windows to parse this, as the colon is also used as a drive letter separator in both paths. We shouldMaybe there is already such function and I just missed it?
The text was updated successfully, but these errors were encountered: