Homec4science

Forbid "." and ".." in slugs

Authored by epriestley <git@epriestley.com> on Mar 14 2014, 16:54.

Description

Forbid "." and ".." in slugs

Summary: Fixes T4614. These don't do anything bad or dangerous, but generate unusable pages.

Test Plan:

  • Added and executed unit tests.
  • Tried to create pages like /../, /begin/../end/, etc.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: aran, epriestley

Maniphest Tasks: T4614

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

Details

Committed
epriestley <git@epriestley.com>Mar 14 2014, 16:54
Pushed
aubortJan 31 2017, 17:16
Parents
rPH325737258520: End Cap for Timeline
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf1637961e79f: Forbid "." and ".." in slugs (authored by epriestley <git@epriestley.com>).Mar 14 2014, 16:54