Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected]|whatisthis #22

Closed
thestick613 opened this issue May 24, 2016 · 3 comments · Fixed by #233
Closed

[email protected]|whatisthis #22

thestick613 opened this issue May 24, 2016 · 3 comments · Fixed by #233
Labels
bug Issue: Works not as designed

Comments

@thestick613
Copy link

This doesn't look right (again):

In [4]: validators.email('[email protected]|whatisthis')
Out[4]: True

In [5]: validators.__version__
Out[5]: '0.10.1'

@thestick613
Copy link
Author

another:

In [2]: x = "[email protected]" + chr(9) + "m"

In [3]: validators.email(x)
Out[3]: True

In [4]: repr(x)
Out[4]: "'[email protected]\\tm'"

@thestick613
Copy link
Author

another:

In [2]: validators.email('[email protected]:')
Out[2]: True

@kvesteri
Copy link
Collaborator

Thanks for reporting, pull requests welcome!

@yozachar yozachar added the bug Issue: Works not as designed label Mar 3, 2023
yozachar added a commit to yozachar/pyvalidators that referenced this issue Mar 3, 2023
- Uses type hints, improve relevant docs
- `email` now has coupling with `domain` module
- moves whitelist for future enhancements
- Regards [RFC 1034](https://www.rfc-editor.org/rfc/rfc1034), [RFC 5321](https://www.rfc-editor.org/rfc/rfc5321) and [RFC 5322](https://www.rfc-editor.org/rfc/rfc5322)
- Updates corresponding tests

**Related Items**

*Issues*

- Closes python-validators#22
- Closes python-validators#64
- Closes python-validators#115
- Closes python-validators#153
- Closes python-validators#197
- Closes python-validators#197

*PRs*

- Closes python-validators#134
yozachar added a commit to yozachar/pyvalidators that referenced this issue Mar 3, 2023
- Uses type hints, improve relevant docs
- `email` now has coupling with `domain` module
- moves `whitelist` parameter for future enhancements
- Regards [RFC 1034](https://www.rfc-editor.org/rfc/rfc1034), [RFC 5321](https://www.rfc-editor.org/rfc/rfc5321) and [RFC 5322](https://www.rfc-editor.org/rfc/rfc5322)
- Updates corresponding tests

**Related Items**

*Issues*

- Closes python-validators#22
- Closes python-validators#64
- Closes python-validators#115
- Closes python-validators#153
- Closes python-validators#197

*PRs*

- Closes python-validators#134
yozachar added a commit to yozachar/pyvalidators that referenced this issue Mar 3, 2023
- Uses type hints, improve relevant docs
- `email` now has coupling with `domain` module
- moves `whitelist` parameter for future enhancements
- Regards [RFC 1034](https://www.rfc-editor.org/rfc/rfc1034), [RFC 5321](https://www.rfc-editor.org/rfc/rfc5321) and [RFC 5322](https://www.rfc-editor.org/rfc/rfc5322)
- Updates corresponding tests

**Related Items**

*Issues*

- Closes python-validators#22
- Closes python-validators#64
- Closes python-validators#115
- Closes python-validators#153
- Closes python-validators#197

*PRs*

- Closes python-validators#134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue: Works not as designed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants