core icon indicating copy to clipboard operation
core copied to clipboard

"New from Url" in a folder is not working correctly

Open ghost opened this issue 14 years ago • 6 comments

I am using Owncloud version 4.5.1 and can not use "new from Url" correctly.

When I upload a file to a folder using "from URL" all seems to work till I refresh (or continue to work). The uploaded file then disappears, to become visible in the root. (and so not in the folder in which I tried to upload it)

I am using Firefox 16.0.2 while doing so.

ghost avatar Nov 09 '12 09:11 ghost

The same issue here

merlin2004 avatar Nov 11 '12 19:11 merlin2004

I just checked version 4.5.2, but unfortunately this bug still exists in that version as well :-(

ghost avatar Nov 15 '12 12:11 ghost

I believe this happens because of the second ? in the get request:

http://owncloud.server/?app=files&getfile=ajax/newfile.php?dir=...%2Ffoo&source=https...&filename=...

blizzz avatar Nov 15 '12 16:11 blizzz

Ok, I have a fix, preparing a PR

blizzz avatar Nov 15 '12 17:11 blizzz

voilá

blizzz avatar Nov 15 '12 17:11 blizzz

just tested this and seems to work just fine (for new from url). Thanks !

ghost avatar Nov 16 '12 08:11 ghost