MantisBT: master-1.3.x 31c7ecdd

Author Committer Branch Timestamp Parent
cproensa dregad master-1.3.x 2016-12-16 07:59 master-1.3.x 1093aa11
Affected Issues  0022028: Time out caused by URL processing
Changeset

Add limits to email regex to avoid timeouts on very long texts

Adds a limit of 64 chars on the local part of the email address, as
defined by: https://tools.ietf.org/html/rfc5321#section-4.5.3.1

This avoids timeout errors on very long texts with false matches.

Fixes: 0022028

mod - core/email_api.php Diff File