Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.
This repository was archived by the owner on May 29, 2024. It is now read-only.

Email regex in this repository does not match the code hosted in the solution's S3 bucket #16

@gmatthew-umassd

Description

@gmatthew-umassd

The regular expression used to check for valid email address:

if not re.match('^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$', mgmt_email.lower()) or not re.match(
is different in the code that's hosted in this solution's S3 bucket: https://solutions-us-east-1.s3.amazonaws.com/aws-innovation-sandbox/v1.0.0/InnovationSandbox.zip

The version of the code referenced in the Solution's Implementation Guide and template: https://solutions-reference.s3.amazonaws.com/aws-innovation-sandbox/latest/aws-innovation-sandbox.template uses the outdated regular expressions, which causes email addresses with multiple delimiters to fail.

This issue was described and fixed in commit 36ee1c3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions