Bug 257861 - Error 404: File not found when trying to download files from the web interface
Summary: Error 404: File not found when trying to download files from the web interface
Status: RESOLVED FIXED
Alias: None
Product: owncloud
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Frank Karlitschek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 12:42 UTC by Romain GRENIER
Modified: 2011-06-17 13:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Bugfix 257861 (351 bytes, patch)
2010-11-26 16:23 UTC, Romain GRENIER
Details

Note You need to log in before you can comment on or make changes to this bug.
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.