[
https://issues.apache.org/jira/browse/ZETACOMP-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998759#comment-12998759
]
Jérôme Renard commented on ZETACOMP-49:
---------------------------------------
Hi Alexandre,
What you described should go in the documentation.
> "X-Powered-By:eZ Components MvcTools" in the PHP header and "User-Agent: eZ
> Components" in the email header
> -----------------------------------------------------------------------------------------------------------
>
> Key: ZETACOMP-49
> URL: https://issues.apache.org/jira/browse/ZETACOMP-49
> Project: Zeta Components
> Issue Type: Improvement
> Components: Mail, MvcTools
> Reporter: Alexandre Leblanc
> Priority: Minor
>
> Indicate "X-Powered-By:eZ Components MvcTools" in the PHP header and
> "User-Agent: eZ Components" in the emails may be a vulnerability for identify
> a platform.
> For remove the header in the email :
> $mail = new ezcMailComposer();
> $mail->appendExcludeHeaders(array('User-Agent'));
> For replace "X-Powered-By" :
> $response->generator="PHP"; //in runResponseFilters method of the controler
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira