From 43824ba30fc122ca5f1d196ef72006e285c7abab Mon Sep 17 00:00:00 2001 From: latham <latham@ispconfig3> Date: Mon, 13 Jun 2011 09:19:49 -0400 Subject: [PATCH] Validate DNS notify host. Customers were putting email addresses in there. Testing for IP addresses. --- interface/lib/classes/functions.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/functions.inc.php b/interface/lib/classes/functions.inc.php index 1839676..8071429 100644 --- a/interface/lib/classes/functions.inc.php +++ b/interface/lib/classes/functions.inc.php @@ -57,7 +57,7 @@ $header .= "Content-Type: multipart/mixed; boundary=$uid\n"; $header .= "--$uid\n"; - $header .= "Content-Type: text/plain\n"; + $header .= "Content-Type: text/plain;\n\tcharset=\"UTF-8\"\n"; $header .= "Content-Transfer-Encoding: 8bit\n\n"; $header .= "$text\n"; -- Gitblit v1.9.1