1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications
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
..
audit Store the "current" application in the controller 2012-08-05 14:03:39 -07:00
auth Fix an issue with URIs missing trailing slashes, like "/maniphest" 2012-08-06 12:46:51 -07:00
base Fix an issue with URIs missing trailing slashes, like "/maniphest" 2012-08-06 12:46:51 -07:00
cache/storage Add a generic multistep Markup cache 2012-07-09 15:20:56 -07:00
calendar Fix displaying day numbers in calendar 2012-06-28 10:28:56 -07:00
chatlog Make chatlog a bit less awful 2012-06-02 14:00:08 -07:00
conduit Improve the flag.* Conduit methods 2012-08-03 11:41:33 -07:00
countdown Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
daemon Save daemon state to database 2012-08-01 17:06:04 -07:00
differential Translate change type header 2012-08-06 12:07:26 -07:00
diffusion Highlight lines on drag and drop in Diffusion 2012-08-05 18:56:25 -07:00
directory/controller Delete unused code 2012-07-24 15:15:45 -07:00
draft/storage Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
drydock Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
fact Add a meta-application 2012-08-02 14:07:21 -07:00
feed Use class_exists() before is_subclass_of() 2012-07-18 19:57:39 -07:00
files Simplify build file from data-or-hash code 2012-07-09 10:38:25 -07:00
flag Store the "current" application in the controller 2012-08-05 14:03:39 -07:00
harbormaster/storage Add a generic object for unit tests 2012-07-09 10:39:14 -07:00
help/controller Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
herald Arrayish fields should always return arrays 2012-06-19 11:18:38 -07:00
maniphest Make "Create New Similar Task" inherit priorities 2012-08-05 19:10:20 -07:00
meta Add a meta-application 2012-08-02 14:07:21 -07:00
metamta Fix an issue with email "Re:" prefix 2012-07-23 09:23:54 -07:00
notification Consolidate PhabricatorFeedStory construction code 2012-07-02 10:37:22 -07:00
oauthserver Fix lint errors found by Nemo 2012-06-11 19:09:42 -07:00
owners Fix loading owning package 2012-07-25 12:52:44 -07:00
paste Add a date column to Paste 2012-08-03 15:39:56 -07:00
people Fix an issue with URIs missing trailing slashes, like "/maniphest" 2012-08-06 12:46:51 -07:00
phame Phame - introduce blogs 2012-07-19 09:03:10 -07:00
phid Fix a comment (see D3140) 2012-08-03 11:47:53 -07:00
phortune Use pht() 2012-06-14 16:25:20 -07:00
phriction Store the "current" application in the controller 2012-08-05 14:03:39 -07:00
policy Move policy tests back into policy/ 2012-06-01 12:43:25 -07:00
project Minor, restore missing limits from 310cf00fc3 2012-07-03 06:25:03 -07:00
repository Add a context field to symbol objects 2012-08-06 12:20:45 -07:00
search Improve the flag.* Conduit methods 2012-08-03 11:41:33 -07:00
slowvote Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
status Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
typeahead Limit results returned by typeahead query in response to user searches 2012-08-01 14:57:07 -07:00
uiexample Remove placeholder 2012-07-31 18:28:08 -07:00
xhpastview Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
xhprof Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00