* adjust for svn path has space.

This commit is contained in:
z
2020-07-22 09:05:41 +08:00
parent 21fcb26e30
commit ffabfbfbba
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -935,7 +935,7 @@ class repoModel extends model
}
$svnVersion = end($versionOutput);
$path = '"' . str_replace(array('%3A', '%2F'), array(':', '/'), urlencode($path)) . '"';
$path = '"' . str_replace(array('%3A', '%2F', '+'), array(':', '/', ' '), urlencode($path)) . '"';
if(stripos($path, 'https://') === 1 or stripos($path, 'svn://') === 1)
{
if(version_compare($svnVersion, '1.6', '<'))