solidjs-community/solid-primitives

add csrf helpers

Ouverte

#771 ouverte le 11 mars 2025

 (2 commentaires) (0 réaction) (0 personne assignée)TypeScript (153 forks)auto 404
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 541 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur