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

Broken (relative) links generated by the new mailsender

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 7.1.4
    • Fix Version/s: None
    • Component/s: Mail
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: