summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-03-15 21:04:33 +0100
committerAndrey Andreev <narf@bofh.bg>2013-03-15 21:04:33 +0100
commitcc86334957360b5c8f753ba03658d4033b867003 (patch)
tree17645bdcbd82b37bd7af9d4270efc22083dcbfad /system
parent1886b85a695364b8e3a2e0334a916eaa741ccfec (diff)
parent4606acc6e1f01ffcdbf740c41f593b3a82d94c1e (diff)
Merge pull request #2337 from moi90/2.1-stable
Email library: htmlspecialchars for _header_str
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Email.php2
1 files changed, 1 insertions, 1 deletions
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 .= "<pre>".$this->_header_str."\n".htmlspecialchars($this->_subject)."\n".htmlspecialchars($this->_finalbody).'</pre>';
+ $msg .= "<pre>".htmlspecialchars($this->_header_str)."\n".htmlspecialchars($this->_subject)."\n".htmlspecialchars($this->_finalbody).'</pre>';
return $msg;
}