solidjs-community/solid-primitives

add csrf helpers

Aperta

#771 aperta il 11 mar 2025

 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (153 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (1541 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Describe The Problem To Be Solved

its highly important to add csrf protection to forms and any mutation http verb (like POST, UPDATE, DELETE, etc.) in solid.js case, server functions.

Suggest A Solution

i think it'd be cool to add csrf generate and verify functions similar to Bun.CSRF: https://x.com/jarredsumner/status/1899194018480988259

Guida contributor