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

server side validation and sanitized input #18

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

e-roy
Copy link
Owner

@e-roy e-roy commented Jan 7, 2024

Pull Request Template

Description

Adding server side validation and sanitized input

Type of change

Adds zod library to provide input validation for server side. Also adds html-escaper library to sanitize text.

Checklist:

  • My code follows the code style of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Related Issue

Link to the issue that will be fixed by this pull request.

Screenshots (if applicable)

Copy link

vercel bot commented Jan 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
gemini-pro-vision-playground ✅ Ready (Inspect) Visit Preview Jan 7, 2024 6:24pm

@e-roy e-roy merged commit fca4f8b into main Jan 7, 2024
3 checks passed
@e-roy e-roy deleted the server-side-validation-and-sanitized-input branch January 7, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant