You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In staktrace/mailparse#96 it was considered to request this package allow trailing bits on the BASE64_MIME codec. The assumptions behind this reasoning are:
BASE64_MIME is tailored for email
in real world emails are sometimes imperfect, and returning something is better than nothing
Would this project be willing to accept a pull request that makes BASE64_MIME more liberal in its handling by setting check_trailing_bits=false? If not, that's okay, I can go back to the mailparse project and see if they're willing to handle it.
Note, I'm not associated with the project, I just personally stumbled across this problem recently, so I figured I'd start with their suggestion first.
The text was updated successfully, but these errors were encountered:
Using data-encoding-macro which doesn't need lazy-initialization because it produces the encoding at compile-time (see below for a snippet).
Add a BASE64_MIME_PERMISSIVE constant in data-encoding. (I'm not willing to change the behavior of BASE64_MIME because this would be a breaking change. But adding a new constant for those who need to ignore trailing bits is fine.)
In staktrace/mailparse#96 it was considered to request this package allow trailing bits on the BASE64_MIME codec. The assumptions behind this reasoning are:
Would this project be willing to accept a pull request that makes BASE64_MIME more liberal in its handling by setting
check_trailing_bits=false
? If not, that's okay, I can go back to the mailparse project and see if they're willing to handle it.Note, I'm not associated with the project, I just personally stumbled across this problem recently, so I figured I'd start with their suggestion first.
The text was updated successfully, but these errors were encountered: