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
F13174657: D20586.id.diff
Wed, May 8, 12:29 AM
Unknown Object (File)
Tue, May 7, 9:11 AM
Unknown Object (File)
Sat, May 4, 3:00 AM
Unknown Object (File)
Fri, May 3, 9:02 AM
Unknown Object (File)
Thu, Apr 25, 2:45 AM
Unknown Object (File)
Tue, Apr 23, 11:07 PM
Unknown Object (File)
Wed, Apr 17, 3:03 PM
Unknown Object (File)
Wed, Apr 17, 8:59 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