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
Pardon an obvious question but i didn't find it the docs.
Say one has /@[user] folder and wants to display Astro.params.user in the frontmatter.
Does one have to sanitize it or is it sanitized by Astro already?
I'm aware of "never trust the client side" but if Astro is cleaning params then sanitizing them again would be a redundant work.
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
-
Pardon an obvious question but i didn't find it the docs.
Say one has
/@[user]
folder and wants to displayAstro.params.user
in the frontmatter.Does one have to sanitize it or is it sanitized by Astro already?
I'm aware of "never trust the client side" but if Astro is cleaning params then sanitizing them again would be a redundant work.
Beta Was this translation helpful? Give feedback.
All reactions