Skip to content

Email regex does not allow apostrophes #6

@ewohnlich

Description

@ewohnlich

Values in the Email widget that have apostrophes are incorrectly marked as invalid because of this regex https://github.com/plone/plone.schema/blob/master/plone/schema/email.py#L10. CMFPlone already has a robust email regex https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/PloneTool.py#L69 that is used for registration, etc. I think plone.schema should either import that, or copy/paste the same thing for its own use.

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