mern-ecommerce
mern-ecommerce copied to clipboard
Unable to add review for a non recommended product
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:
- Sign In and select any product
- Fill all the values in the Add Review form and select "No" on the Will you recommend this product? field.
- See error
Expected behavior A successful request to the server.
I already have the fix for this bug, can I go ahead and resolve it?
@faraz16iqbal Off course! Please do and i will review and merge. Thanks!
Kindly assign this issue to me. I will try my best to resolve this isuue