Ghost/ghost/core/test
Rishabh Garg 2eac41b1f4
🐛 Fixed invalid email getting saved for members (#16021)
refs https://github.com/TryGhost/Team/issues/2235

We found some cases which can cause a site to have member emails that have invalid characters like `member@example.com�`. This happened due to the `validator` version used by Ghost not able to catch some specific cases as invalid email, allowing members to be created with them either via Admin or Importer or direct signup. Portal UI already blocked these email as invalid. This change:

- updates `@tryghost/validator` to include a latest version of email validator that catches these invalid cases
- doesn't allow member creation with invalid email like above
- doesn't allow existing member emails to be edited to invalid
2022-12-16 16:47:52 +05:30
..
e2e-api 🐛 Fixed importing existing member resetting newsletters (#16017) 2022-12-15 17:45:11 +01:00
e2e-browser 🐛 Fixed invalid email getting saved for members (#16021) 2022-12-16 16:47:52 +05:30
e2e-frontend 🔒 Disabled editable relations by default 2022-11-28 18:40:26 +07:00
e2e-server Added email service package (#15849) 2022-11-21 10:29:53 +01:00
e2e-webhooks Reduced default post relations (#15798) 2022-11-15 10:17:26 +01:00
integration Added Revue Importer (#16012) 2022-12-15 17:22:54 +00:00
regression 🐛 Fixed invalid email getting saved for members (#16021) 2022-12-16 16:47:52 +05:30
unit Added Revue Importer (#16012) 2022-12-15 17:22:54 +00:00
utils 🐛 Fixed invalid email getting saved for members (#16021) 2022-12-16 16:47:52 +05:30
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00