$_SERVER['SERVER_NAME'], must return Server_Name XXX provided by the server. But by default apache allows to return the Host Header ... UseCanonicalName Off
Apache escaped all HTML host value for $_SERVER['SERVER_NAME'], no probleme for XSS, but undesirable and dangerous for sql injections.
Hi,
`$_SERVER['SERVER_NAME']`, must return `Server_Name XXX` provided by the server. But by default apache allows to return the `Host Header` ... `UseCanonicalName Off`
Apache escaped all HTML host value for `$_SERVER['SERVER_NAME']`, no probleme for XSS, but undesirable and dangerous for sql injections.
<!-- github-sync-id:114047880 -->
Hi
nothing from phpMailer is used in SQL queries
you can submit the issue to https://github.com/PHPMailer/PHPMailer if you want but we won't alter the lib in Piwigo
<!-- github-comment-id:152179837 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
$_SERVER['SERVER_NAME'], must returnServer_Name XXXprovided by the server. But by default apache allows to return theHost Header...UseCanonicalName OffApache escaped all HTML host value for
$_SERVER['SERVER_NAME'], no probleme for XSS, but undesirable and dangerous for sql injections.Hi
nothing from phpMailer is used in SQL queries
you can submit the issue to https://github.com/PHPMailer/PHPMailer if you want but we won't alter the lib in Piwigo
Ok sorry,
i close this issue !