Où discuter des problèmes avec email_reply_trimmer ?

Je rencontre un problème avec les utilisateurs utilisant ProtonMail pour envoyer des réponses à Discourse. Je pense qu’une demande de tirage (PR) doit être soumise sur GitHub - discourse/email_reply_trimmer: Library to trim replies from plain text email. · GitHub, mais je crois qu’il faudrait en discuter d’abord et je ne trouve pas de sujet existant pour cette bibliothèque ici sur Meta.

Donc, si nous devons soumettre des problèmes individuels ici comme je le fais, voici l’erreur que je constate, où l’email source original n’est pas correctement exclu :


Et voici la source de l’email au format « Texte » selon l’icône de l’enveloppe pour le message :

This is a response.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, November 16, 2019 3:45 PM, admin via SiteName <admin@domain.tld> wrote:

> [admin]
> [admin](https://domain.tld/u/admin)
> November 16
>
> Test post for testing email replies.
>
> ---------------------------------------------------------------
>
> [Visit Topic](https://domain.tld/t/test-post/201/13) or reply to this email to respond.
>
> You are receiving this because you enabled mailing list mode.
>
> To unsubscribe from these emails, [click here](https://domain./email/unsubscribe/dad35235322caad5f662345706a9e4c8bac13235bedae186dbf25a3c3d4362).

Lorsque je passe au format brut, je constate que ceci est en Unicode Base64 :

VGhpcyBpcyBhIHJlc3BvbnNlLgoK4oCQ4oCQ4oCQ4oCQ4oCQ4oCQ4oCQIE9yaWdpbmFsIE1lc3NhZ2Ug4oCQ4oCQ4oCQ4oCQ4oCQ4oCQ4oCQCk9uIFNhdHVyZGF5LCBOb3ZlbWJlciAxNiwgMjAxOSAzOjQ1IFBNLCBhZG1pbiB2aWEgU2l0ZU5hbWUgPGFkbWluQGRvbWFpbi50bGQ+IHdyb3RlOgoKPiBbYWRtaW5dCj4gW2FkbWluXShodHRwczovL2RvbWFpbi50bGQvdS9hZG1pbikKPiBOb3ZlbWJlciAxNgo+Cj4gVGVzdCBwb3N0IGZvciB0ZXN0aW5nIGVtYWlsIHJlcGxpZXMuCj4KPiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KPgo+IFtWaXNpdCBUb3BpY10oaHR0cHM6Ly9kb21haW4udGxkL3QvdGVzdC1wb3N0LzIwMS8xMykgb3IgcmVwbHkgdG8gdGhpcyBlbWFpbCB0byByZXNwb25kLgo+Cj4gWW91IGFyZSByZWNlaXZpbmcgdGhpcyBiZWNhdXNlIHlvdSBlbmFibGVkIG1haWxpbmcgbGlzdCBtb2RlLgo+Cj4gVG8gdW5zdWJzY3JpYmUgZnJvbSB0aGVzZSBlbWFpbHMsIFtjbGljayBoZXJlXShodHRwczovL2RvbWFpbi4vZW1haWwvdW5zdWJzY3JpYmUvZGFkMzUyMzUzMjJjYWFkNWY2NjIzNDU3MDZhOWU0YzhiYWMxMzIzNWJlZGFlMTg2ZGJmMjVhM2MzZDQzNjIpLg==

Par conséquent, quelque chose ne va pas avec email_reply_trimmer, soit il ne le décode pas (correctement), soit il y a une telle bizarrerie…

Looks weird indeed :thinking:

@mreach any chances you (or one of your users) could reply to this topic using ProtonMail so that we can see it firsthand?

Intriguing, how would they reply to this topic without already being subscribed to it? Is there a function I’m missing that would allow them to trigger this or a way for me to facilitate this?

You could invite them to this topic using their email address.

So as you can see, it worked for a test ProtonMail account I set up to send a reply in here, but it’s not working for them on my Discourse instance. I’ll try to invite them to this topic as per your suggestion, but I’m not seeing any invite by email on here - OR are you referring to simply forwarding them the email and then having them reply that way after making an account on here @zogstrip?

Test on try.discourse.org, not here.

Hmm, the screenshot and the message you posted aren’t the same. :wink:

Can you send me a PM with the exact content of the incoming email including all the headers. That makes it easier to debug. You can censor names, email addresses and so on if you want. I’ll have a look.

Also, what’s the value of the incoming email prefer html site setting on your forum?