Determine if the email address field is zero-length and ignores it if it is. This fix results from the PAIRIN client sending blank email address fields to the MCI, which inevitably fails validation and leads to a mismatch in record counts between our system and PAIRIN.
Checklists
Basic
[x] Did you write tests for the code in this PR?
[x] Did you document your changes in the README and/or in docstrings (as needed)?
Security
[x] Authorization has been implemented across these changes
[x] Injection has been prevented (parameterized queries, no eval or system calls)
[x] Any web UI is escaping output (to prevent XSS)
[x] Sensitive data has been identified and is being protected properly
Notes for the Reviewer
A precise explanation of what the PR reviewer needs to evaluate. This might be:
Pull Request
Description
Determine if the email address field is zero-length and ignores it if it is. This fix results from the PAIRIN client sending blank email address fields to the MCI, which inevitably fails validation and leads to a mismatch in record counts between our system and PAIRIN.
Checklists
Basic
Security
Notes for the Reviewer
A precise explanation of what the PR reviewer needs to evaluate. This might be: