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)
Thu, Dec 19, 2:49 PM
Unknown Object (File)
Wed, Dec 18, 12:13 AM
Unknown Object (File)
Fri, Dec 13, 4:56 AM
Unknown Object (File)
Fri, Dec 13, 4:56 AM
Unknown Object (File)
Thu, Dec 12, 9:31 PM
Unknown Object (File)
Thu, Dec 12, 6:39 AM
Unknown Object (File)
Sat, Dec 7, 4:12 PM
Unknown Object (File)
Wed, Dec 4, 7:34 AM
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