Webform contact form email validation not working

Created on 18 August 2020, over 4 years ago
Updated 25 July 2023, over 1 year ago

Problem/Motivation

Webform Default contact form email validation not working. if user filled the form with abc@domain it accept the form and allow to submit it. (with .com )

Steps to reproduce

Tried with fresh instance of drupal 8x and webform latest version. default contact form if you submit the form with above "abc@domain" without .com etc then it accept the form and gave error "The website encountered an unexpected error. Please try again later.".
from log

Drupal\Core\Entity\EntityStorageException: Invalid address: wulafegal@mailinator in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 846 of \core\lib\Drupal\Core\Entity\Sql\SqlContentEntityStorage.php).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

5.19

Component

Code

Created by

🇵🇰Pakistan ahaomar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024