Fixed issues 368 and 354, access to files with special characters.
This commit is contained in:
@@ -371,5 +371,13 @@ class IDF_Scm
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Given a path, encode everything but the /
|
||||
*/
|
||||
public static function smartEncode($path)
|
||||
{
|
||||
return str_replace('%2F', '/', rawurlencode($path));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user