mailgun / talon

Apache License 2.0
1.27k stars 285 forks source link

Ignore long line in signature if line contains URL #163

Closed ebarajas closed 2 years ago

ebarajas commented 6 years ago

I kept running into a problem where gmail would inject a google maps link if the signature contained an address which would cause extract_signature to fail since the line was too long.

This simply just checks if a line contains a URL and if so still considers it a candidate.

mailgun-ci commented 6 years ago

Can one of the admins verify this patch?

obukhov-sergey commented 5 years ago

@mailgun-ci test this please

obukhov-sergey commented 5 years ago

@ebarajas thank you so much for the PR and sorry about the delay with the merge. Can you plz fix the comment regarding the lines that start with a dash?