Bug 257861

Summary: Error 404: File not found when trying to download files from the web interface
Product: [Unmaintained] owncloud Reporter: Romain GRENIER <contact>
Component: generalAssignee: Frank Karlitschek <karlitschek>
Status: RESOLVED FIXED    
Severity: normal CC: robin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Bugfix 257861

Description Romain GRENIER 2010-11-25 12:42:23 UTC
Version:           unspecified
OS:                Linux

I use owncloud from git revision : e18898dfe140b091840107aa47ac4ece7a68edd6 but this bug looks to affect all versions.


Reproducible: Always

Steps to Reproduce:
-Log in
-Create a directory
-Open it
-Create a file
-tick the file's checkbox
-Download it by clicking on the "Go" button

Actual Results:  
Error 404 : http://owncloud.caizzii.com/files/api.php?action=get&dir=Music&file=test.txt


Expected Results:  
http://owncloud.caizzii.com/files/api.php?action=get&dir=%2FMusic&file=test.txt

Missing %2F before directory in the URL.
Comment 1 Romain GRENIER 2010-11-26 16:23:51 UTC
Created attachment 53768 [details]
Bugfix 257861

I have changed only one line.
Comment 2 Robin Appelman 2010-12-04 13:51:18 UTC
Thanks for your patch, I committed it to git.