Skip to content

Conversation

@sciffany
Copy link

@sciffany sciffany commented Feb 18, 2023

I have invalidated all emails where the user part begins with a quotation but does not end with a quotation. Solves #2184

For example, these are invalid emails:
"[email protected]
"<[email protected]
" [email protected]

Reference:
"spaces, quotes, and backslashes may only exist when within quoted strings and preceded by a backslash" ~https://en.wikipedia.org/wiki/Email_address#Examples

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@sciffany sciffany changed the title Disallow emails starting with quote feat(isEmail): Disallow emails starting with quote Feb 18, 2023
@codecov
Copy link

codecov bot commented Feb 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (43803c0) to head (03d1a2a).
Report is 104 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2185   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          106       106           
  Lines         2348      2348           
  Branches       593       593           
=========================================
  Hits          2348      2348           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sciffany sciffany changed the title feat(isEmail): Disallow emails starting with quote feat(isEmail): Disallow emails starting with but not ending with quote Feb 18, 2023
Copy link

@Ahmad-RW Ahmad-RW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

Copy link
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have tests in the valid section for this, so looks good to me!

@sciffany
Copy link
Author

Hi, why is merging still blocked after two approving reviews. Thanks!

@WikiRik
Copy link
Member

WikiRik commented Mar 26, 2023

Hi, why is merging still blocked after two approving reviews. Thanks!

You need two approving reviews of people with merge rights, which does not include us

@feeedback
Copy link

any news?

@WikiRik WikiRik requested a review from rubiin March 28, 2025 20:58
@WikiRik
Copy link
Member

WikiRik commented Mar 28, 2025

This has been resolved in #2437

@WikiRik WikiRik closed this Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants