Skip to content

Wdfn 567 add validation to email address of user feedback

Before making a pull request

  • Run all linters (make lint)
  • Run all tests (make test)
  • Update the changelog appropriately

Description - WDFN 567 Add Validation to Email Address in Feedback Form

This adds an additional pattern match to the standard HTML5 email address validation. The standard match allows the brower's creators to decide the type of validation provided. Some browsers will not check for a '.' since according to the email address standard, there can be addresses with no '.'. In practice these email addresses are very rare so can reasonably be excluded. So an additional regular expression pattern is used to create filter for most common addresses. This pattern will be enforced on all browsers.

After making a pull request

  • If appropriate, put the link to the PR in the JIRA ticket
  • Assign someone to review unless the change is trivial

Merge request reports