Forum Discussion
andrewc105
Oct 14, 2024Copper Contributor
Url encoded folder names not decoded on server end
When using the OneDrive API I am url encoding the file names so for example a file with a plus or hash symbol would get encoded the the percent symbol escape sequence. This works correctly for files...
- Oct 18, 2024Well I found the workaround for this. If the folder you want to create would have percent symbols in after url encoding then don't' create the folder. Instead create a dummy file inside that folder path and then delete it. The folder will be auto created anyway. It does work correctly with url encoding with the file creation. So that solves the problem.
andrewc105
Oct 18, 2024Copper Contributor
Well I found the workaround for this. If the folder you want to create would have percent symbols in after url encoding then don't' create the folder. Instead create a dummy file inside that folder path and then delete it. The folder will be auto created anyway. It does work correctly with url encoding with the file creation. So that solves the problem.