Open zenhack opened 2 years ago
I reproduced this bug and figured out a fix for it. Github is bothering me about 2 factor authentication and auth tokens yet again, so I just pushed my commit up to my sandstorm instead.
https://sandstorm.stephentpollard.com/shared/odh0IskHfMcEpYWRCG6mVOjGrWQ7i-fZGbUgvXDupxb
The fix, which is to decode the URI, could happen in app/components/davros-uploader.js (like I did), or app/models/files.js:ensureCollectionExists(), or even app/lib/ensure-collection-exists.js. I'm not sure where the best place is.
Perhaps I'll make a proper pull request if I can get github to let me push to my fork...
Steps to reproduce:
A Directory
.There will then be two directories:
A Directory
A%20Directory
The files will be in the former; the latter will be empty.