Commit bb0b998
Demian
Trim whitespace from email fields in spamfilter whitelist and blacklist forms #6883
Added a TRIM filter on the 'email' field during SAVE event in
spamfilter_blacklist.tform.php and spamfilter_whitelist.tform.php.
This ensure whitespaces are removed from email field, allowing the whitelist and blacklist
entries to be properly written to the rspamd configuration.1 parent bb37295 commit bb0b998
File tree
2 files changed
+6
-2
lines changed- interface/web/mail/form
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
0 commit comments