Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepository.php
Show First 20 Lines • Show All 751 Lines • ▼ Show 20 Lines | public function generateURI(array $params) { | ||||
} | } | ||||
$raw_commit = $commit; | $raw_commit = $commit; | ||||
if (phutil_nonempty_string($commit)) { | if (phutil_nonempty_string($commit)) { | ||||
$commit = str_replace('$', '$$', $commit); | $commit = str_replace('$', '$$', $commit); | ||||
$commit = ';'.phutil_escape_uri($commit); | $commit = ';'.phutil_escape_uri($commit); | ||||
} | } | ||||
$line = phutil_string_cast($line); | |||||
if (phutil_nonempty_string($line)) { | if (phutil_nonempty_string($line)) { | ||||
$line = '$'.phutil_escape_uri($line); | $line = '$'.phutil_escape_uri($line); | ||||
} | } | ||||
$query = array(); | $query = array(); | ||||
switch ($action) { | switch ($action) { | ||||
case 'change': | case 'change': | ||||
case 'history': | case 'history': | ||||
▲ Show 20 Lines • Show All 2,116 Lines • Show Last 20 Lines |