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

Share page by email doesn't work when browsing the wiki using an IP address

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      When trying to share a wiki page by email 'Sender Email Address' is set to: $!

      {request.localName}

      #set ($sender = $xwiki.getUserName($context.user, false))
      #set ($sender = "$sender <noreply@$!{request.localName}

      >")

      It should be set to: $!

      {request.serverName}

      The same for body email content:

      Hello ${recipientName},

      ${xwiki.getUserName($context.user, false)} thought you might be interested in the document "$!{escapetool.xml(${doc.displayTitle})}" (${doc.getExternalURL()}) on ${request.getLocalName()}.

      ${request.getLocalName()} must be replaced with $!{request.serverName}

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            alexandru.stancu Alexandru Stancu
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: