Fixed issues 368 and 354, access to files with special characters.

This commit is contained in:
Loic d'Anterroches
2010-01-20 22:33:53 +01:00
parent 0b580ba2ec
commit 73641a03d5
10 changed files with 27 additions and 20 deletions

View File

@@ -233,6 +233,7 @@ class IDF_Scm_Git extends IDF_Scm
$file->author = 'Unknown';
}
$file->fullpath = ($folder) ? $folder.'/'.$file->file : $file->file;
$file->efullpath = self::smartEncode($file->fullpath);
if ($file->type == 'commit') {
// We have a submodule
$file = $this->getSubmodule($file, $commit);