You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was downloading a file with symbols '[' and ']' in its name. It was
mistakenly reported as a directory, because the 'type' field had these symbols
replaced by %XX by the SVN server, but the 'path' field did not. I suggest
replacing the line
$this->storeDirectoryFiles['path'] = str_replace(' ', '%20',
$this->storeDirectoryFiles['path']); //Hack to make filenames with spaces work.
with these lines
$original = array('%','$','&',',',':',';','=','?','@','
','<','>','#','{','}','|','^','~','[',']','`');
$replacements =
array('%25','%24','%26','%2c','%3a','%3b','%3d','%3f','%40','%20','%3c','%3e','%
23','%7b','%7d',
$this->storeDirectoryFiles['path'] = str_replace($original, $replacements,
$this->storeDirectoryFiles['path']);
Original issue reported on code.google.com by [email protected] on 25 Aug 2011 at 12:41
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 25 Aug 2011 at 12:41The text was updated successfully, but these errors were encountered: