Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): Add additional URL & email input validation #843

Merged
merged 4 commits into from
Feb 5, 2021
Merged

fix(ui): Add additional URL & email input validation #843

merged 4 commits into from
Feb 5, 2021

Conversation

TheCatLady
Copy link
Collaborator

@TheCatLady TheCatLady commented Feb 4, 2021

Description

Adds URL input validation from 026795d to notification settings and Radarr/Sonarr modals.

A regular expression was used for webhook URL validation, since it's possible to not have a TLD (e.g., http://webhook:9000/hooks/overseerr) and Yup's url() validation requires a TLD.

Edit: Also add email input validation!

Todos

  • Successful build
  • Translation keys

@lgtm-com
Copy link

lgtm-com bot commented Feb 4, 2021

This pull request introduces 2 alerts when merging c0bc669 into 026795d - view on LGTM.com

new alerts:

  • 2 for Inefficient regular expression

@TheCatLady TheCatLady marked this pull request as draft February 4, 2021 19:24
@lgtm-com
Copy link

lgtm-com bot commented Feb 4, 2021

This pull request introduces 1 alert when merging 540eddd into 026795d - view on LGTM.com

new alerts:

  • 1 for Inefficient regular expression

@lgtm-com
Copy link

lgtm-com bot commented Feb 4, 2021

This pull request introduces 1 alert when merging e0f2049 into 026795d - view on LGTM.com

new alerts:

  • 1 for Inefficient regular expression

@TheCatLady TheCatLady marked this pull request as ready for review February 4, 2021 21:47
@TheCatLady TheCatLady changed the title fix(ui): Add additional URL input validation fix(ui): Add additional URL & email input validation Feb 5, 2021
@sct sct merged commit 3f9bfeb into sct:develop Feb 5, 2021
@TheCatLady TheCatLady deleted the addtl-url-validation branch February 5, 2021 01:13
@github-actions
Copy link

github-actions bot commented Feb 5, 2021

🎉 This PR is included in version 1.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants