Cms: Storing the users data with some special characters

Created on 6 Nov 2020  路  4Comments  路  Source: craftcms/cms

I'm trying to store the emails which have some special characters but either craftcms or yii tries to encode the strings, this is OK with Vanilla PHP

Capture

Also, I put a log in src/controllers/UsersController.php:1022 to get the $_POST to see posted data and still was encoded.

bug

All 4 comments

I鈥檓 not seeing any issues saving a user account with the email aaa@盲枚.ee. Can you be more specific as to what you are entering and where it is getting encoded?

I tested with the front sign-up form, not admin and the username filled automatically by CraftCMS and is encoded. @brandonkelly

Got it, thanks. We鈥檝e fixed this for the next release.

Craft 3.5.16 is out now with that fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michel-o picture michel-o  路  3Comments

richhayler picture richhayler  路  3Comments

RitterKnightCreative picture RitterKnightCreative  路  3Comments

angrybrad picture angrybrad  路  3Comments

bitboxfw picture bitboxfw  路  3Comments