diff options
author | Steve Holme <steve_holme@hotmail.com> | 2020-02-10 20:50:50 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2020-02-24 22:59:08 +0000 |
commit | 80ccc26415f380b67a7f9da91ba0d216c3fc6e74 (patch) | |
tree | 1b0fff14a9f891770f070c19928e290fb99552f3 /tests/data/test2015 | |
parent | 3f74e5e604824f98b40b6012e940af8599d64ea1 (diff) |
ftpserver: Corrected the e-mail address regex in MAIL_smtp() and RCTP_smtp()
The dot character between the host and the tld was not being escaped,
which meant it specified a match of 'any' character rather than an
explicit dot separator.
Additionally removed the dot character from the host name as it allowed
the following to be specified as a valid address in our test cases:
<bad@example......com>
Both are typos from 98f7ca7 and 8880f84 :(
I can't remember whether my intention was to allow sub-domains to be
specified in the host or not with these additional dots, but by placing
it outside of the host means it can only be specified once per domain
and by placing a + after the new grouping support for sub-domains is
kept.
Closes #4912
Diffstat (limited to 'tests/data/test2015')
0 files changed, 0 insertions, 0 deletions