purebred-mua / purebred-email

A fast email parsing library implemented in Haskell
https://hackage.haskell.org/package/purebred-email
GNU Affero General Public License v3.0
23 stars 4 forks source link

Specify dash for isAtext at the beginning #10

Closed romanofski closed 6 years ago

romanofski commented 6 years ago

isAtext was mistakenly specifying a range from ASCII characters '+' to '/' which included ASCII characters like ',', '-' and '.'. This resulted in wrong parser results, even tho not very obvious.

This patch puts the dash to the beginning in accordance to the documentation.

frasertweedale commented 6 years ago

Thanks!