-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdk-control-cli: Parse contacts with both comma "," as delimiter as well
Until now we required contacts be separated by ";" semi-colon. This was error prone as a lot of users are using "," comma and we are not really preventing them so mails were written as "a@abv.bg,b@dir.bg" as if it is a single email. T This also meant that people were not getting notifications. The fix is to add "," comma as allowed delimiter as a first step. In a subsequent change we can add a email validator (like https://pypi.org/project/email-validator) Testing Done: unit tests including new ones Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
- Loading branch information
1 parent
53bf5a9
commit 472dc21
Showing
2 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters