You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Destr is described as A faster, secure and convenient alternative. In a Nuxt context using readBody it says Reads request body and *tries* to safely parse using destr.
Can it be considered strong enough to use any incoming data or would you recommend to use a sanitizing solution - for example isomorphic-dompurify - in addition of readBody?
Sorry if the answer is obvious but the documentation at https://unjs.io/packages/destr is a bit lacking on that matter. It would be appreciated to mention the safety and limitations/recommendations if any.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello.
Destr is described as A faster, secure and convenient alternative. In a Nuxt context using
readBody
it saysReads request body and *tries* to safely parse using destr
.Can it be considered strong enough to use any incoming data or would you recommend to use a sanitizing solution - for example isomorphic-dompurify - in addition of readBody?
Sorry if the answer is obvious but the documentation at https://unjs.io/packages/destr is a bit lacking on that matter. It would be appreciated to mention the safety and limitations/recommendations if any.
Thanks for all the work.
Beta Was this translation helpful? Give feedback.
All reactions