CityOfDetroit / bloom

component-based web framework for affordable housing management
Apache License 2.0
16 stars 1 forks source link

fix: add character validation on user creation #1653

Closed ludtkemorgan closed 8 months ago

ludtkemorgan commented 8 months ago

Pull Request Template

Issue Overview

This PR addresses #issue

Description

Pulls over the fix from HBA into doorway to prevent invalid characters in our user accounts. This is the first step of several to prevent email phishing attacks using our emails

How Can This Be Tested/Reviewed?

On the public site when trying to create a user add a url to the first or last name. You should get an error when submitting it

Checklist:

Reviewer Notes:

Steps to review a PR:

On Merge:

If you have one commit and message, squash. If you need each message to be applied, rebase and merge.

netlify[bot] commented 8 months ago

Deploy Preview for detroit-public-dev ready!

Name Link
Latest commit b01ef6a293a26e26a01bfb0c6c3c888a3255f452
Latest deploy log https://app.netlify.com/sites/detroit-public-dev/deploys/65dce8e52355ef0008f65d43
Deploy Preview https://deploy-preview-1653--detroit-public-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 8 months ago

Deploy Preview for detroit-partners-dev ready!

Name Link
Latest commit b01ef6a293a26e26a01bfb0c6c3c888a3255f452
Latest deploy log https://app.netlify.com/sites/detroit-partners-dev/deploys/65dce8e57296700008cfafa7
Deploy Preview https://deploy-preview-1653--detroit-partners-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.