jsDAV icon indicating copy to clipboard operation
jsDAV copied to clipboard

Space in filename is not recognized

Open MeteorStartup opened this issue 8 years ago • 4 comments

I've got filename something like this, Boot%20Camp%20(Imported).vmwarevm.zip and that is not available to download on the browser.

The Browser shows following XML error document which could not find the path.

http://i.imgur.com/3pDESkg.png

Is there a option or some convenient way to solve this?

MeteorStartup avatar Dec 26 '16 10:12 MeteorStartup

In your screenshot it looks like you're putting the %20 in there yourself: http://stackoverflow.com/a/16085190 I don't know how you generated that link, but I'd suggest looking there first...

mikedeboer avatar Dec 28 '16 16:12 mikedeboer

I had the same issue. When hosting a filename with a space in the name (e.g., Boot Camp (Imported).vmwarevm.zip), it is listed as Boot%20Camp%20(Imported).vmwarevm.zip in the browser and clicking on it results in the XML 404 error. If I change the filename to just BootCamp(Imported).vmwarevm.zip everything seems to work.

mblum14 avatar Jan 04 '17 16:01 mblum14

@mblum14 that sounds like a straightforward issue where jsDAV doesn't escape the path properly. I don't have the time to look at this issue currently, but I'd be happy to mentor someone who wants to fix it.

mikedeboer avatar Jan 04 '17 17:01 mikedeboer

so the issue was not solved yet? I got same issue on version 0.3.4 I didn't change any options and I got url something like this, filename%20something.dmg

something I found on the web was explained this issue to 'double urlencoding' issue. if that was right, that should be fixed on next version-

MeteorStartup avatar Feb 10 '17 06:02 MeteorStartup