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

Invitation app removes hyphens in domain name and replaces them with strikethrough formatting

    Details

    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When using certain mail servers, it is necessary to use the Punycode representation of the domain name instead of the UTF-8 representation. For example, "foo@ma├▒ana.com" is technically "foo@xn--maana-pta.com" and needs to be written as such for non-Punycode-aware mail servers. However, XWiki removes the double hyphen and replaces it with strikethrough formatting, which is confusing. A similar problem occurs if the email address happens to contain a double underscore.

      1. Go to http://localhost:8080/xwiki/bin/view/Invitation/
      2. Send an invitation to foo@xn--maana-pta.com
      3. Observe the result.
      4. Click "My Invitations" and observe that this page has the problem too.

      Screenshots of step 3 and step 4 are attached.

        Attachments

          Activity

            People

            • Assignee:
              camil7 Clemens Robbenhaar
              Reporter:
              alex.henrie Alex Henrie
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

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