1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/src/infrastructure
epriestley 688c120f9f Provide PhabricatorEnv::isSelfURI to test if a URI points at the current install
Summary:
Ref T5378. This repackages an existing check to see if a URI is a URI for the current install into a more reasonable form.

In an upcoming change, I'll use this new check to test whether `http://example.whatever.com/T123` is a link to a task on the current install or not.

Test Plan: This stuff has good test coverage already; added some more.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T5378

Differential Revision: https://secure.phabricator.com/D17502
2017-03-17 16:44:53 -07:00
..
cluster Fix two errors from the error logs 2016-11-26 07:50:57 -08:00
contentsource Redesign Config Application 2016-08-29 15:49:49 -07:00
customfield Remove extra parameter in newStandardEditField() call 2017-02-16 09:44:39 -08:00
daemon Add "--pool" and "--duration" flags to daemon CLI tools 2017-02-28 07:43:46 -08:00
diff Make Differential inline events actually trigger comment preview refreshes 2017-01-19 12:32:49 -08:00
edges Add a generic "edge.search" method 2017-03-04 15:26:29 -08:00
env Provide PhabricatorEnv::isSelfURI to test if a URI points at the current install 2017-03-17 16:44:53 -07:00
events Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
graph Allow task graph task titles to go full width 2017-02-10 10:58:15 -08:00
internationalization Use DifferentialCommitMessageParser and Modular Transactions to implement "Auditors: ..." 2017-01-30 15:23:05 -08:00
javelin When the profiler is active, keep it active if the user submits forms 2017-02-23 11:15:40 -08:00
lint/linter Linter fixes 2015-12-03 07:44:23 +11:00
log Extend from Phobject 2015-06-15 18:02:27 +10:00
management Modularize content sources 2016-03-26 11:59:45 -07:00
markup Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
query Add a generic "edge.search" method 2017-03-04 15:26:29 -08:00
sms Various linter fixes 2015-08-11 22:36:55 +10:00
ssh Normalize remote IP addresses when writing to logs, etc 2016-12-05 11:20:29 -08:00
storage Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
syntax Pass the new default syntax highlighting map to the remarkup engine 2016-05-05 02:51:19 -07:00
testing Make caches misses throw by default intead of inline-generating 2016-06-05 08:51:54 -07:00
time Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
util Allow custom image generation when choosing a profile image 2017-03-03 20:21:31 -08:00
PhabricatorEditor.php Mark some strings for translation 2015-06-09 23:06:52 +10:00