Homec4science

Phriction - make the check for project sub pages more fine-grained

Authored by Bob Trahan <bob.trahan@gmail.com> on Nov 7 2013, 21:06.

Description

Phriction - make the check for project sub pages more fine-grained

Summary:
we were just checking if projects/ was in the URI before barfing. Use some more fun utility functions such that we only complain if there is no project.

Fixes T4071.

Test Plan: made a subpage under a project - success! tried to make a project wiki page where there was no project - successful failure! tried to make a project wiki sub page where there was no project - successful failure!

Reviewers: epriestley, chad

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4071

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

Details

Committed
Bob Trahan <bob.trahan@gmail.com>Nov 7 2013, 21:06
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0e65740c2dfa: Support ecdsa-sha2-nistp256 SSH keys
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <bob.trahan@gmail.com> committed rPH9084f1fe8c06: Phriction - make the check for project sub pages more fine-grained (authored by Bob Trahan <bob.trahan@gmail.com>).Nov 7 2013, 21:06