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
F14893734: D20586.id49112.diff
Sun, Feb 9, 7:52 AM
F14893732: D20586.id49104.diff
Sun, Feb 9, 7:52 AM
F14893731: D20586.id.diff
Sun, Feb 9, 7:52 AM
F14893730: D20586.diff
Sun, Feb 9, 7:52 AM
Unknown Object (File)
Sun, Jan 26, 12:49 PM
Unknown Object (File)
Sat, Jan 25, 5:16 AM
Unknown Object (File)
Sat, Jan 25, 5:16 AM
Unknown Object (File)
Sat, Jan 25, 5:16 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