Skip to content
Snippets Groups Projects
Commit b4d9eeb6 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Trimming some user input for email addresses

parent b1b034bf
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ class Template extends AbstractEntity {
* @param string $fromMail
*/
public function setFromMail($fromMail) {
$this->fromMail = $fromMail;
$this->fromMail = trim($fromMail);
}
/**
......@@ -191,7 +191,7 @@ class Template extends AbstractEntity {
* @param string $cc
*/
public function setCc($cc) {
$this->cc = $cc;
$this->cc = trim($cc);
}
/**
......@@ -205,7 +205,7 @@ class Template extends AbstractEntity {
* @param string $bcc
*/
public function setBcc($bcc) {
$this->bcc = $bcc;
$this->bcc = trim($bcc);
}
/**
......@@ -219,6 +219,6 @@ class Template extends AbstractEntity {
* @param string $replyTo
*/
public function setReplyTo($replyTo) {
$this->replyTo = $replyTo;
$this->replyTo = trim($replyTo);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment