bsoc-bitbyte / GetIt

Streamlined college e-commerce: Simplifying merch buying and selling for students.
https://getit.iiitdmj.ac.in/
18 stars 51 forks source link

fix #181 : added input sanitisation #183

Closed Om-Thorat closed 5 months ago

Om-Thorat commented 5 months ago

Overview

  1. This PR fixes or fixes part of #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

Proof that changes are correct

https://github.com/bsoc-bitbyte/GetIt/assets/76207818/3454893e-2806-4bc4-ae8c-7c5b7034d784

PR Pointers

netlify[bot] commented 5 months ago

Deploy Preview for merch-site canceled.

Name Link
Latest commit a3a250f4861b5868021274dfd623ce36c93bd507
Latest deploy log https://app.netlify.com/sites/merch-site/deploys/66616653e9fbff00087b008b
Om-Thorat commented 5 months ago

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 commented 5 months ago

Looks good, lets get this moving @AkashPaloju