Page MenuHomePhabricator

Forbid "." and ".." in slugs
ClosedPublic

Authored by epriestley on Mar 14 2014, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 7:56 PM
Unknown Object (File)
Tue, Nov 26, 8:52 PM
Unknown Object (File)
Nov 21 2024, 3:45 PM
Unknown Object (File)
Nov 11 2024, 8:34 AM
Unknown Object (File)
Nov 7 2024, 2:39 AM
Unknown Object (File)
Nov 5 2024, 9:24 PM
Unknown Object (File)
Nov 5 2024, 9:24 PM
Unknown Object (File)
Oct 26 2024, 8:29 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Forbid "." and ".." in slugs.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 14 2014, 3:50 PM
epriestley updated this revision to Diff 20247.

Closed by commit rPf1637961e79f (authored by @epriestley).