Commit e5e3b51
Change email regex match to fullmatch
This PR is about the current method used to conditionally match user and domain regex to email.
currently, it's using match which wrongfully accepts entries if domain has special characters after .com
it currently accepts, john@voluptuous.com> or john!@voluptuous.org!@($*!
thus, we need to fullmatch the domain or user to avoid such entries and validate them properly.1 parent 1720439 commit e5e3b51
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
0 commit comments