Skip to content

Commit

Permalink
pkp/pkp-lib#9246 Trim email addresses in CC/BCC to avoid invalidation (
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 authored Aug 22, 2023
1 parent aa88884 commit 772e4a3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/components/Container/DecisionPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,16 @@ export default {
return {
...stepData,
attachments: step.attachments,
bcc: bcc ? bcc.split(',') : [],
cc: cc ? cc.split(',') : [],
bcc: bcc
? bcc.split(',').map((item) => {
return item.trim();
})
: [],
cc: cc
? cc.split(',').map((item) => {
return item.trim();
})
: [],
locale: step.locale,
recipients: step.canChangeRecipients ? step.recipients : [],
subject: step.subject,
Expand Down

0 comments on commit 772e4a3

Please sign in to comment.