-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sponsor guest registration: unexpected strings in email subject #3669
Comments
As we discussed together, if I put UTF8 content directly in sponsor HTML templates, I get following behaviors:
The only difference in emails is CentOS 7 stable
Debian 8.11 stable
Important thing to have in mind, sponsor HTML templates are now UTF8 files in place of ASCII text. |
See also #3503 |
Show me the full email headers. |
As seen with @extrafu, CentOS encodes email in ISO-8859:
|
Still presents in 8.3 |
@jrouzierinverse : any updates ? |
Still presents in v9 for CentOS. |
Normally the subject must be encoded as in: "This is a test ç á ã ° ¿ = ?" became =?UTF-8?B?VGhpcyBpcyBhIHRlc3Qgw6cgw6Egw6MgwrAgwr8gPSA/?= |
It works as expected on my side. Using I will backport to maintenance. |
To reproduce:
Create a sponsor request by visiting captive portal with a web browser configured in French
=> Sponsor will receive an email with following subject:
example.lan : RequXte d'accXs invitX
If I dump
%info
at https://github.com/inverse-inc/packetfence/blob/devel/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Sponsor.pm#L185, it contains:Subject seems well encoded in UTF-8 but we need to send it correctly.
The text was updated successfully, but these errors were encountered: