View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|17518||Feature requests||Survey participants (Tokens)||public||2021-08-17 13:09||2021-12-28 11:53|
|Summary||17518: Non-ascii characters in email addresses|
|Description||Currently LS allows for example jori.mäntysalo@tuni.fi as a participant email, even if ä is not an ASCII character. Theoretically it might work, see https://en.wikipedia.org/wiki/International_email. In reality it does not.|
I suggest either disabling non-ascii characters in participant email, or having a setting for disabling/enabling them.
|Tags||No tags attached.|
No reason to disable if it's allowed.
Maybe in some country it's used, or in some company .
Who know ?
A plugin can be great !
|I have never seen this kind on internationalized email in use. And what's worse, it seems to break some MS email servers badly.|
> break some MS email
:D \o/ ;)
|True, I would blame MS too. But in reality we just can't ignore MS, as it is currently so widely used.|
|PHPMailer supports IDN but not EAI, so we might want to at least force the local part to be ASCII only|
When loading a token by the add participant option, the HTML5 validation is run and doesn't allow to add emails with "non-ascii characters". That's Chrome.
Still, going further, the previous code uses the idna_convert class to convert from unicode to punycode during validation. That created two problems:
- Conversion was applied to the entire address, not just the domain. That is why unicode characters were being accepted on the local part of the address, which is not supposed to be accepted.
-The idna_convert class does the conversion always, while PHPMailer requires the intl extension to be installed to support IDN addresses. Therefore, some addresses could be accepted which later PHPMailer was not going to be able to handle.
This fix leaves out the idna_convert class (does it have to be removed?) And uses PHPMailer's punyencodeAddress () method, for better consistency.
asapstory published best ideas and top success stories. This is the first online blog that's a collection of all failure to success stories from world wide
|2021-08-17 13:09||Jmantysalo||New Issue|
|2021-08-18 12:53||galads||Assigned To||=> galads|
|2021-08-18 12:53||galads||Status||new => acknowledged|
|2021-08-25 15:18||DenisChenu||Note Added: 66139|
|2021-08-25 15:18||DenisChenu||Bug heat||0 => 2|
|2021-08-25 16:06||Jmantysalo||Note Added: 66141|
|2021-08-25 16:06||Jmantysalo||Bug heat||2 => 4|
|2021-08-25 18:06||DenisChenu||Note Added: 66142|
|2021-08-25 18:08||Jmantysalo||Note Added: 66143|
|2021-08-25 21:26||c_schmitz||Note Added: 66144|
|2021-08-25 21:26||c_schmitz||Bug heat||4 => 6|
|2021-11-02 10:11||galads||Status||acknowledged => confirmed|
|2021-12-27 16:39||gabrieljenik||Note Added: 67863|
|2021-12-27 16:39||gabrieljenik||Bug heat||6 => 8|
|2021-12-27 16:40||gabrieljenik||Note Edited: 67863||View Revisions|
|2021-12-27 17:55||gabrieljenik||Note Edited: 67863||View Revisions|
|2021-12-28 11:53||asapstory||Note Added: 67864|
|2021-12-28 11:53||asapstory||Bug heat||8 => 10|