Eml-parser

Latest version: v1.17.5

Safety actively analyzes 622788 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.17.5

Changes
- Remove obsolete methods.
- Rework hashing wrapper methods.

Added
- Add a custom e-mail parsing policy for fixhing invalid values as soon as possible.
- Currently implemented for invalid message-id and date parsing.

1.17.4

Changes
- Renamed eml_parser.eml_parser to eml_parser.parser to make imports safer. This should not break any usage but nonetheless
make sure to verify that you are not importing eml_parser.eml_parser.
- While adding tests for Python 3.11, cchardet fails to install. Turns out it seems to be abandoned and as such it has been
replaced with [charset-normalizer](https://github.com/Ousret/charset_normalizer).
- Migrate setup.cfg to pyproject.toml

Fixes
- Fix typing and linter issues.

1.17.3

Fixes
- Fix parsing bad message-id formats 79.

1.17.2

Fixes
- When serialising RFC822 payloads, use a custom policy which has no limits on line-lenthgs as this breaks badly encoded messages.

1.17.1

Fixes
- Fix issue 76 "If a CR or LF is found in a malformed email address header fields (From/To/etc.), the ValueError breaks the parsing." (malvidin, cccs-rs)

1.17.0

Added
- Add Public Suffix List validation options for URLs and email addresses. (malvidin)
- Add ip_force_routable option to filter out non-routable IPs. (malvidin)
- Add domain_force_tld option to filter out domains with invalid TLDs. (malvidin)
- Add include_www option to include potential URLs without a scheme. (malvidin)
- Add IP, domain, and Public Suffix List filtering tests. (malvidin)
- Add www_regex and dom_regex tests. (malvidin)
- Add optional matching for HTML SRC and HREF. (malvidin)

Changes
- Moved URL parsing options to EmlParser from get_uri_ondata. (malvidin)

Fixes
- Ensure string_sliding_window_loop includes the last slice of the body. (malvidin)
- Keep subsequent URLs if URLs are comma separated. (malvidin)
- Fix linter warnings.
- Add typing dev dependencies.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.