1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 00:10:57 +01:00

Merge pull request #267 from taichi/escape_file_path

escape svn repository file paths.
This commit is contained in:
Evan Priestley 2013-02-14 07:00:29 -08:00
commit 60cb9e1cfb
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ final class DiffusionSvnDiffQuery extends DiffusionDiffQuery {
return $repository->getRemoteCommandFuture(
'cat %s%s@%d',
$repository->getRemoteURI(),
$ref,
phutil_escape_uri($ref),
$rev);
}

View file

@ -16,7 +16,7 @@ final class DiffusionSvnFileContentQuery extends DiffusionFileContentQuery {
'%C %s%s@%s',
$this->getNeedsBlame() ? 'blame --force' : 'cat',
$remote_uri,
$path,
phutil_escape_uri($path),
$commit);
} catch (CommandException $ex) {
$stderr = $ex->getStdErr();