@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow number in generated clone uri

Summary:
See https://discourse.phabricator-community.org/t/numerical-characters-are-stripped-from-diffusion-git-repository-name-in-the-uri/

Digits are often considered reasonable characters.

Test Plan: Looked at an ascii table.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, Sam2304, epriestley

Differential Revision: https://secure.phabricator.com/D19447

authored by

Aviv Eyal and committed by
avivey
72813004 10a4b05e

+1 -1
+1 -1
src/applications/repository/storage/PhabricatorRepository.php
··· 364 364 if (!strlen($name)) { 365 365 $name = $this->getName(); 366 366 $name = phutil_utf8_strtolower($name); 367 - $name = preg_replace('@[/ -:<>]+@', '-', $name); 367 + $name = preg_replace('@[ -/:->]+@', '-', $name); 368 368 $name = trim($name, '-'); 369 369 if (!strlen($name)) { 370 370 $name = $this->getCallsign();