Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14339

Broken (relative) links generated by the new mailsender

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 7.1.4
    • Mail
    • Unknown

    Description

      The old mailsender plugin sets an ExternalServletURLFactory in the context before rendering the mail, which makes sure that all generated URLs can be used in an email, but the new mailsender doesn't do that.

      To test: send a "password reset" email, notice how the first link, which is supposed to lead to the homepage of the site being accessed, doesn't work, and the source reveals that it's a relative link.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: