Email address sanitisation mangles valid email addresses
|Reported by:||westi||Owned by:|
|Component:||Formatting||Keywords:||2nd-opinion has-patch is-email|
If you change your email address to one including an ampersand then we mangle the address with html entities.
- This - peter&paul@…
- Becomes - peter&paul@…
This is due to the call to wp_filter_kses on pre_user_email' in default-filters.php.
I'm not sure if we need kses filtering for emails - if we do which should probably revert this conversion of the & => & afterwards.