mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Fix URI escaping, which should actually be "%s", not "%p"
See <https://discourse.phabricator-community.org/t/projects-workboards-links-issue/2896>. The documentation on `urisprintf()` isn't very clear here, I'll update it in a followup. "%p" is for cases like encoding a branch name (which may contain slashes) as a single path component in a URI.
This commit is contained in:
parent
02315c4c48
commit
45f4211541
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ final class PhabricatorWorkboardViewState
|
|||
|
||||
public function newWorkboardURI($path = null) {
|
||||
$project = $this->getProject();
|
||||
$uri = urisprintf('%p%p', $project->getWorkboardURI(), $path);
|
||||
$uri = urisprintf('%s%s', $project->getWorkboardURI(), $path);
|
||||
return $this->newURI($uri);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue