Ghost/ghost
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
..
adapter-manager Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
admin 🐛 Fixed archived offers return button not working (#16023) 2022-12-16 11:32:05 +01:00
api-framework Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
api-version-compatibility-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
audience-feedback Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
bootstrap-socket Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
constants Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
core 🐛 Fixed invalid email getting saved for members (#16021) 2022-12-16 16:47:52 +05:30
custom-theme-settings-service Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
data-generator Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
domain-events Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
email-analytics-provider-mailgun Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
email-analytics-service 🐛 Handled unknown Mailgun events (#15995) 2022-12-14 11:17:45 +01:00
email-content-generator Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
email-events Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
email-service Fixed email preview text with new stability flow (#15996) 2022-12-14 15:54:26 +05:30
email-suppression-list Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
express-dynamic-redirects Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
importer-revue Update dependency sinon to v15.0.1 2022-12-15 21:03:48 +00:00
job-manager Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
link-redirects Update dependency @types/express to v4.17.15 2022-12-14 07:33:05 +07:00
link-replacer Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
link-tracking Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
magic-link Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
mailgun-client Added new unique tag to all mailgun requests 2022-12-14 12:20:25 +00:00
member-attribution Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
member-events Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
members-api 🐛 Fixed invalid email getting saved for members (#16021) 2022-12-16 16:47:52 +05:30
members-csv Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
members-events-service Reduced webhook calls when updating last_seen_at for email opens (#16008) 2022-12-14 17:50:42 +01:00
members-importer Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
members-ssr Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
minifier Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
mw-api-version-mismatch Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
mw-cache-control Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-error-handler Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
mw-session-from-token Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-update-user-last-seen Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-vhost Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
oembed-service Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
offers Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
package-json Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
payments Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
portal Released Portal v2.22.0 2022-12-14 16:12:20 +05:30
referrers Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
security Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
session-service Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
settings-path-manager Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
staff-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
stats-service Update dependency sqlite3 to v5.1.4 2022-12-13 10:59:30 +07:00
stripe Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
tiers Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
update-check-service Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
verification-trigger Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
version-notifications-data-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00