You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2021/10/18 17:02:00 UTC
[jira] [Commented] (LOG4J2-3176) Email reminder cannot modify
character set
[ https://issues.apache.org/jira/browse/LOG4J2-3176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430098#comment-17430098 ]
Volkan Yazici commented on LOG4J2-3176:
---------------------------------------
Thanks for the report [~Paradoxw]! Would you also mind submitting a PR to fix this, please?
> Email reminder cannot modify character set
> ------------------------------------------
>
> Key: LOG4J2-3176
> URL: https://issues.apache.org/jira/browse/LOG4J2-3176
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.13.2, 2.14.0, 2.14.1
> Reporter: ChenYuwang
> Priority: Trivial
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> [https://github.com/apache/logging-log4j2/blob/rel/2.14.1/log4j-core/src/main/java/org/apache/logging/log4j/core/net/SmtpManager.java]
> getHeaders(final String contentType, final String encoding)
>
> > headers.setHeader("Content-Type", contentType + "; charset=UTF-8");
>
> This character set cannot be set to other
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)