Uploaded image for project: 'Lucee Development'
  1. LDEV-1665

email addresses with german umlauts are not validated correctly

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.2.4.37
    • Fix Version/s: 5.2.7.6
    • Labels:
      None
    • Sprint:
      March 2018

      Description

      email addresses with german umlauts (and I'm sure also for all other non-ascii characters) like test@müller.de are not validated correctly.

      The result of isValid("email","test@müller.de") is false but should be true.

      When using this address in cfmail like
      <cfmail from="..." to="test@müller.de" ...>
      results in an error saying
      One of the following attribtues must be defined (to, cc, bcc)

      a workaround is converting the email address to punycode manually:
      createobject("java", "java.net.IDN").toAscii("test@müller.de")

      But this should be done automatically by Lucee. The developer exception is, that email addresses like this are recognized as valid addresses, because they are.

      This is really a blocker, because it means, that all applications validating these addresses fail with emails with non-ascii characters!

        Attachments

          Activity

            People

            • Assignee:
              michael1 Michael Offner
              Reporter:
              madmikede Michael Hnat
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: