Page MenuHomePhabricator

Fix missing link targets for "View Object" header buttons in HTML email
ClosedPublic

Authored by epriestley on Jun 18 2019, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 12:41 AM
Unknown Object (File)
Mon, Nov 11, 4:52 AM
Unknown Object (File)
Mon, Nov 4, 7:24 AM
Unknown Object (File)
Wed, Oct 30, 8:31 AM
Unknown Object (File)
Oct 23 2024, 7:23 AM
Unknown Object (File)
Oct 16 2024, 8:11 AM
Unknown Object (File)
Oct 14 2024, 10:36 PM
Unknown Object (File)
Sep 10 2024, 4:25 PM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/view-task-from-maniphest-e-mail-doesnt-have-url/2827.

I added "View Task" / "View Commit" buttons recently but the logic for generating URIs isn't quite right. Fix it up.

Test Plan
  • Commented on a task.
  • Used bin/mail show-outbound --id ... --dump-html > out.html to dump the HTML.
  • Previewed the HTML in a browser.
  • This time, actually clicked the button to go to the task.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable