Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Fix Version/s: 2.0.3, STABLE Sprint 8
-
Component/s: Repositories
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
Dongsheng - Per http://moodle.org/mod/forum/discuss.php?d=169304#p749343, I tested this by creating a folder with a space in the name and then adding a file to that folder using dropbox web interface. Then I went into Moodle and went to select the file and although I did see the directory I did not see the file. When I removed the space from the dropbox folder name and went back to browse the folder in Moodle the file appeared. I looked at the code in /repository/dropbox/lib.php and did not see anything get_listing that was obvious. Let me know if you have any questions or anything you need tested. Peace - Anthony
Issue Links
| This issue will help resolve: | ||||
| PULL-507 | Repository: Dropbox does not list files if directory name contains a space |
|
|
|
The directory paths weren't being encoded properly so spaces were breaking things. I've a patch in my branch at https://github.com/mylescarrick/moodle/tree/MDL-26798- it's all in one commit at https://github.com/mylescarrick/moodle/commit/6780fced819c1eeb84167fae2164e6d22d0b181c