1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/mail/p5-Email-Address-UseXS/pkg-descr
Dan Langille c87b95273c Add Email::Address::UseXS which is intended for use with mail/p5-Email-Sender
Email::Address::UseXS - ensure that any code uses Email::Address::XS instead of Email::Address

To use, simply add use Email::Address::UseXS; in your code before anything that tries to load in Email::Address.

Differential Revision:	https://reviews.freebsd.org/D18479
2019-01-04 19:02:36 +00:00

13 lines
442 B
Plaintext

To use, simply add use Email::Address::UseXS; in your code before anything that
tries to load in Email::Address.
use Email::Address::UseXS;
print Email::Address->parse('user@example.com');
Email::Address is dangerous, badly-formed input can cause very slow regex
expressions (taking minutes or more to run).
See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7686 for details.
WWW: https://metacpan.org/pod/Email::Address::UseXS