Skip to content

Commit

Permalink
fixing the problem with sending invites to multiple addressees
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Wolniewicz committed Sep 24, 2024
1 parent c69f4cd commit 4e557b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/admin/inc/sendinvite.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
throw new Exception("sendinvite: called either without authentication or without target mail address!");
}

$newmailaddress = filter_input(INPUT_POST, 'mailaddr', FILTER_SANITIZE_EMAIL);
$newmailaddress = htmlspecialchars(strip_tags(filter_input(INPUT_POST, 'mailaddr')));
$totalSegments = explode(",", $newmailaddress);
$validAddresses = core\common\OutsideComm::exfiltrateValidAddresses($newmailaddress);
$newcountry = "";
Expand Down

0 comments on commit 4e557b9

Please sign in to comment.