bug #798 Sanitize SERVER_NAME (c960657)
bug #798 Sanitize SERVER_NAME (c960657)

This PR was merged into the 6.0-dev branch.

Discussion
----------

Sanitize SERVER_NAME

We need to sanitize `$_SERVER['SERVER_NAME']`.

The regexp is copied from Symfony\Component\HttpFoundation\Request.

This only affects master. The code in question was added in PR #760.

Commits
-------

21f310b Sanitize SERVER_NAME

jamesggordon/swiftmailer,jamesggordon/swiftmailer,swiftmailer/swiftmailer,c960657/swiftmailer,c960657/swiftmailer,voku/swiftmailer,Rotzbua/swiftmailer,voku/swiftmailer,Rotzbua/swiftmailer,gencer/swiftmailer,gencer/swiftmailer,michabbb-backup/swiftmailer,michabbb-backup/swiftmailer,swiftmailer/swiftmailer