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

Add common validators library for input sanitization #472

Open
sp3nx0r opened this issue Jul 23, 2020 · 0 comments
Open

Add common validators library for input sanitization #472

sp3nx0r opened this issue Jul 23, 2020 · 0 comments
Labels
needs design this is probably a big enough topic to need a design doc

Comments

@sp3nx0r
Copy link
Contributor

sp3nx0r commented Jul 23, 2020

We might want to standardize on common validations that occur often in services, building something similar to Django's validation utility library (https://docs.djangoproject.com/en/3.0/ref/validators/), rather than services glomming in other libraries that we may/may not like. Recent questions from devs I've seen include:

  • email address compliance
  • url address (wrapper for urlparse)
  • slugifying input / alphanum special char regex
  • punycode conversions

Sadly Pyramid doesn't have a similar validators library

@spladug spladug added question needs design this is probably a big enough topic to need a design doc and removed question labels Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs design this is probably a big enough topic to need a design doc
Development

No branches or pull requests

2 participants