1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 01:12:41 +01:00
phorge-phorge/src
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
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Preserve nonstandard ports during 404 redirects which add "/" to the ends of URIs 2017-01-04 06:55:10 -08:00
applications Provide PhabricatorEnv::isSelfURI to test if a URI points at the current install 2017-03-17 16:44:53 -07:00
docs Fix a stray piece of remarkup syntax in arc documentation 2017-02-28 12:09:30 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Provide PhabricatorEnv::isSelfURI to test if a URI points at the current install 2017-03-17 16:44:53 -07:00
view Add Badges to UserCache 2017-03-17 10:38:17 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Add Badges to UserCache 2017-03-17 10:38:17 -07:00