From 4606acc6e1f01ffcdbf740c41f593b3a82d94c1e Mon Sep 17 00:00:00 2001 From: moi90 Date: Fri, 15 Mar 2013 16:48:56 +0100 Subject: Email library: htmlspecialchars for _header_str --- system/libraries/Email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries') diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 9ec40af9d..d01d5c197 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -1954,7 +1954,7 @@ class CI_Email { } } - $msg .= "
".$this->_header_str."\n".htmlspecialchars($this->_subject)."\n".htmlspecialchars($this->_finalbody).'
'; + $msg .= "
".htmlspecialchars($this->_header_str)."\n".htmlspecialchars($this->_subject)."\n".htmlspecialchars($this->_finalbody).'
'; return $msg; } -- cgit v1.2.3-24-g4f1b