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 #181 : added input sanitisation #183

Merged
merged 4 commits into from
Jun 8, 2024

Conversation

Om-Thorat
Copy link
Contributor

Overview

  1. This PR fixes or fixes part of [BUG]: Missing Sanitisation on the backend.  #181 .
  2. This PR does the following: Adds input sanitisation to the title and description field in events so that Html or Js injection isn't possible.

Essential Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)
  • The PR is made from a branch that's not called "main/master".

Proof that changes are correct

vid.mp4

PR Pointers

  • If you need a review or an answer to a question, and don't have permissions to assign people, leave a comment like the following: "{{Question/comment}} @{{reviewer_username}} PTAL".
  • Never force push. If you do, your PR will be closed.

Copy link

netlify bot commented Jun 4, 2024

Deploy Preview for merch-site canceled.

Name Link
🔨 Latest commit a3a250f
🔍 Latest deploy log https://app.netlify.com/sites/merch-site/deploys/66616653e9fbff00087b008b

@Om-Thorat
Copy link
Contributor Author

Added a markdown parser and tailwind/typography to render the md html on the page.

Screenshots to show the change.

Screenshot from 2024-06-05 16-22-43

image

@Kushdapush
Copy link
Collaborator

Looks good, lets get this moving @AkashPaloju

@AkashPaloju AkashPaloju merged commit 8c56a78 into bsoc-bitbyte:main Jun 8, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Missing Sanitisation on the backend.
3 participants