1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-27 04:03:14 +01:00
ntfy/server
Guillaume Taquet Gasperini 5b8520b4e0 Add quoted-printable decoding to smtp server
Some e-mails are sent using quoted-printable encoding [0], resulting in
notifications with weird characters.

This commit adds support for this encoding, resulting in the following:

**Before**
```
A
=3D=3D=3D=3D=3D
B
=3D=3D=3D=3D=3D
C
```

**After**
```
A
=====
B
=====
C
```

[0] https://www.rfc-editor.org/rfc/rfc2045.html
2023-05-08 10:54:34 +02:00
..
actions.go
actions_test.go
config.go
config_test.go
errors.go
file_cache.go
file_cache_test.go
log.go
mailer_emoji.json
message_cache.go
message_cache_test.go
ntfy.service
server.go
server.yml
server_account.go
server_account_test.go
server_firebase.go
server_firebase_test.go
server_manager.go Add tests, and proper rate 2023-04-21 11:09:13 -04:00
server_manager_test.go
server_matrix.go
server_matrix_test.go
server_metrics.go
server_middleware.go
server_payments.go
server_payments_test.go
server_test.go
smtp_sender.go
smtp_sender_test.go
smtp_server.go
smtp_server_test.go
topic.go
topic_test.go
types.go
util.go
util_test.go
visitor.go Add visitor_seen to the log context 2023-03-03 13:56:48 -05:00