Page MenuHomePhabricator

Make `#` header detection more strict
ClosedPublic

Authored by epriestley on Aug 5 2014, 4:01 PM.
Tags
None
Referenced Files
F19059289: D10151.id.diff
Sat, Nov 29, 5:08 AM
F19052083: D10151.diff
Fri, Nov 28, 2:51 AM
F18833737: D10151.id.diff
Oct 26 2025, 5:24 AM
F18829963: D10151.diff
Oct 25 2025, 2:51 AM
F18770932: D10151.id24420.diff
Oct 8 2025, 4:19 PM
F18656600: D10151.id24420.diff
Sep 22 2025, 10:58 PM
F18626435: D10151.diff
Sep 16 2025, 1:14 AM
F18625511: D10151.diff
Sep 15 2025, 10:57 PM
Subscribers

Details

Summary

Ref T5102. Require a space after a single # at the beginning of a line to possibly trigger header behavior.

This prevents conflicts with #projects and some normal text beginning with #.

Test Plan

Added unit test.

Diff Detail

Repository
rPHU libphutil
Branch
headercons
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2046
Build 2047: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Make `#` header detection more strict.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Aug 5 2014, 4:18 PM
epriestley updated this revision to Diff 24420.

Closed by commit rPHU25c1599e34e0 (authored by @epriestley).