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

Add missing trailing slashes to crumb links in Diffusion

Summary:
In most cases this just makes the URIs more consistent, but it's funky/breakish for SVN repositories which are only partially tracked.

See also T3915, and IRC.

Test Plan:
  - Browsed some repositories, verified URIs generated as expected, with trailing slashes for directories.
  - Verified nothing goofy happened in the extremes (like double slashes on the first crumb).

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7209
This commit is contained in:
epriestley 2013-10-03 15:51:47 -07:00
parent 1296c3d347
commit 5200145b21

View file

@ -192,7 +192,7 @@ abstract class DiffusionController extends PhabricatorController {
'href' => $drequest->generateURI(
array(
'action' => $action,
'path' => $accum,
'path' => $accum.'/',
)),
),
$part.'/');