file manager problem when adding images from sub directory
I have an admin form to add product details to the database table.
My form uses the file manager to add an image url to the relevant field.
If I browse to the images folder, the path is stored correctly
if I browse to a sub folder of images, the path is stored correctly
eg /images/details/ logo.jpg
However, if I browse another level deeper, the path is stored incorrectly
eg /images/details\more/ logo.jpg
(Notice the folder separator is inverted from a forward slash to a backslash, after the first sub-folder)
If I try adding a further level, the problem is exacerbated
eg /images/details\more\evenmore/ logo.jpg
I uploaded the site to my testing server, in case you needed to see the issue first hand, but it works ok there