1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/auth
epriestley ebb7807bb4 Fix an issue with URIs missing trailing slashes, like "/maniphest"
Summary:
In D3144, I made us look in application maps to find routing rules. However, we don't process //all// the maps when we 404 and try to do a "/" redirect. Process all of the maps.

Additionally, in D3146 I made the menu items application-driven. However, some pages (like 404) don't have a controller. Drop the requirement that the controller be nonnull.

Test Plan:
  - Visited "/maniphest", got a redirect after this patch.
  - Visited "/asldknfalksfn", got a 404 after this patch.

Reviewers: davidreuss, vrana, btrahan

Reviewed By: davidreuss

CC: aran

Maniphest Tasks: T1607

Differential Revision: https://secure.phabricator.com/D3158
2012-08-06 12:46:51 -07:00
..
application Fix an issue with URIs missing trailing slashes, like "/maniphest" 2012-08-06 12:46:51 -07:00
controller Show a "Logout?" dialog when the user goes to /logout/ 2012-07-25 13:58:49 -07:00
ldap Allow custom LDAP port 2012-08-05 15:37:40 -07:00
oauth/provider Adding 'Secure Browsing' config setting to Facebook OAuth. 2012-07-17 18:18:16 -07:00
view Adding 'Secure Browsing' config setting to Facebook OAuth. 2012-07-17 18:18:16 -07:00