Page MenuHomePhabricator

Prevent Differential changeset HTML anchors from colliding with comment anchors
ClosedPublic

Authored by epriestley on Aug 24 2017, 8:40 PM.
Tags
None
Referenced Files
F19821379: D18465.id.diff
Mar 6 2026, 9:30 PM
F19758968: D18465.diff
Feb 17 2026, 11:32 PM
F19059437: D18465.id44368.diff
Nov 29 2025, 5:24 AM
F19014808: D18465.id.diff
Nov 22 2025, 9:44 PM
F18998120: D18465.diff
Nov 20 2025, 5:28 PM
F18997077: D18465.id.diff
Nov 20 2025, 10:05 AM
F18840788: D18465.id.diff
Oct 28 2025, 4:02 AM
F18838164: D18465.diff
Oct 27 2025, 9:31 AM
Subscribers

Details

Summary

Fixes T12970. This is easier than I expected, and appears to occur in only one place.

This prevents a change from ever generating with an anchor like #12345678, which is ambiguous because it may be a comment anchor.

Test Plan

Viewed a revision, saw new change-xxxyyyzzz anchors, clicked one, got jumped to the right place.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 24 2017, 8:52 PM
This revision was automatically updated to reflect the committed changes.

Would this break anyone's bookmarks to file locations in a diff~

Yes, but surely no one has those?

I don't know anyone that has those

tbh it sounds like something only weirdo internet experts would do