Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_mail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_mail
Commits
b4d9eeb6
Commit
b4d9eeb6
authored
8 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Trimming some user input for email addresses
parent
b1b034bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Domain/Model/Template.php
+4
-4
4 additions, 4 deletions
Classes/Domain/Model/Template.php
with
4 additions
and
4 deletions
Classes/Domain/Model/Template.php
+
4
−
4
View file @
b4d9eeb6
...
...
@@ -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
)
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment