mern-ecommerce icon indicating copy to clipboard operation
mern-ecommerce copied to clipboard

Unable to add review for a non recommended product

Open faraz16iqbal opened this issue 1 year ago • 3 comments

Describe the bug While adding a review and selecting "No" for on the Will you recommend this product? field results in a 400 due to small issue in the DOMPurify sanitize function.

To Reproduce Steps to reproduce the behavior:

  1. Sign In and select any product
  2. Fill all the values in the Add Review form and select "No" on the Will you recommend this product? field.
  3. See error

Expected behavior A successful request to the server.

faraz16iqbal avatar Apr 25 '23 22:04 faraz16iqbal

I already have the fix for this bug, can I go ahead and resolve it?

faraz16iqbal avatar Apr 25 '23 22:04 faraz16iqbal

@faraz16iqbal Off course! Please do and i will review and merge. Thanks!

mohamedsamara avatar May 31 '23 02:05 mohamedsamara

Kindly assign this issue to me. I will try my best to resolve this isuue

rahulll18 avatar Aug 31 '23 06:08 rahulll18