File: control

package info (click to toggle)
golang-github-gorilla-csrf 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 192 kB
  • sloc: makefile: 2
file content (48 lines) | stat: -rw-r--r-- 1,947 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Source: golang-github-gorilla-csrf
Section: golang
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Anthony Fok <foka@debian.org>
Rules-Requires-Root: no
Build-Depends: debhelper-compat (= 13),
               dh-sequence-golang,
               golang-any,
               golang-github-gorilla-securecookie-dev,
               golang-github-pkg-errors-dev (>= 0.9.1)
Testsuite: autopkgtest-pkg-go
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-gorilla-csrf
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-gorilla-csrf.git
Homepage: https://github.com/gorilla/csrf
XS-Go-Import-Path: github.com/gorilla/csrf

Package: golang-github-gorilla-csrf-dev
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
         golang-github-gorilla-securecookie-dev,
         golang-github-pkg-errors-dev (>= 0.9.1)
Description: Cross Site Request Forgery (CSRF) prevention middleware for Go
 gorilla/csrf is a HTTP middleware library that provides cross-site request
 forgery (CSRF) protection.  It includes:
 .
  * The csrf.Protect middleware/handler provides CSRF protection on routes
    attached to a router or a sub-router.
  * A csrf.Token function that provides the token to pass into your response,
    whether that be a HTML form or a JSON response body.
  * ... and a csrf.TemplateField helper that you can pass into your
    html/template templates to replace a {{ .csrfField }} template tag
    with a hidden input field.
 .
 gorilla/csrf is designed to work with any Go web framework, including:
 .
  * The Gorilla toolkit
  * Go's built-in net/http package
  * Goji - see the tailored fork https://github.com/goji/csrf
  * Gin
  * Echo
  * ... and any other router/framework that rallies around Go's http.Handler
    interface.
 .
 gorilla/csrf is also compatible with middleware 'helper' libraries
 like Alice and Negroni.