[Kde-pim] Review Request 113171: Update KPIMUtils email address validator to pass tests
Jan Kundrát
jkt at flaska.net
Tue Oct 8 15:03:48 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113171/#review41392
-----------------------------------------------------------
> user at localhost is a valid address without any dot (right?)
Yes. (As per the dot-atom production, see RFC 5322, section 3.2.3.)
- Jan Kundrát
On Oct. 8, 2013, 1:18 p.m., Dan Vrátil wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113171/
> -----------------------------------------------------------
>
> (Updated Oct. 8, 2013, 1:18 p.m.)
>
>
> Review request for KDEPIM-Libraries.
>
>
> Repository: kdepimlibs
>
>
> Description
> -------
>
> 1) Remove FIXME: double quotes are handled in the main loop below
> 2) Don't bail out when dot count is zero:
> 1) user at localhost is a valid address without any dot (right?)
> 2) in case of mailto:@mydomain we want to fail on InvalidCharacter rather then TooFewDots (we get that eventually at the end of the validation)
> 3) Don't fail when dot is at the end of address: "user at domain.com." - domains ending with dot are valid FQDNs
> 4) Update tooManyAtsFlag in AngleAddress context too
>
>
> Diffs
> -----
>
> kpimutils/email.cpp 925d100
>
> Diff: http://git.reviewboard.kde.org/r/113171/diff/
>
>
> Testing
> -------
>
> All tests pass now (assuming they are correct :D)
>
>
> Thanks,
>
> Dan Vrátil
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list