File tree Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ revel-csrf
2
2
==========
3
3
4
4
` revel-csrf ` implements Cross-Site Request Forgery (CSRF) attacks
5
- prevention for the [ Revel framework] ( https://github.com/robfig /revel ) .
5
+ prevention for the [ Revel framework] ( https://github.com/revel/cmd /revel ) .
6
6
7
7
Code is based on the ` nosurf ` package implemented by
8
8
[ Justinas Stankevičius] ( https://github.com/justinas/nosurf ) .
@@ -33,7 +33,7 @@ Simply call the CSRFFilter() filter in `app/init.go`.
33
33
34
34
import (
35
35
"github.com/cbonello/revel-csrf"
36
- "github.com/robfig /revel"
36
+ "github.com/revel /revel"
37
37
)
38
38
39
39
func init() {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ package csrf
5
5
6
6
import (
7
7
"crypto/subtle"
8
- "github.com/robfig /revel"
8
+ "github.com/revel /revel"
9
9
"net/url"
10
10
"regexp"
11
11
)
Original file line number Diff line number Diff line change 8
8
pathPackage "path"
9
9
"sync"
10
10
11
- "github.com/robfig /revel"
11
+ "github.com/revel /revel"
12
12
)
13
13
14
14
// I'm not cetain that we need a mutex because exempted routes are generally
Original file line number Diff line number Diff line change 1
1
package controllers
2
2
3
3
import (
4
- "github.com/robfig /revel"
4
+ "github.com/revel /revel"
5
5
"github.com/cbonello/revel-csrf/samples/demo/app/routes"
6
6
"fmt"
7
7
)
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package app
2
2
3
3
import (
4
4
"github.com/cbonello/revel-csrf"
5
- "github.com/robfig /revel"
5
+ "github.com/revel /revel"
6
6
)
7
7
8
8
func init () {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ log.error.prefix = "ERROR "
18
18
# The default language of this application.
19
19
i18n.default_language=en
20
20
21
- module.static=github.com/robfig /revel/modules/static
21
+ module.static=github.com/revel /revel/modules/static
22
22
23
23
csrf.ajax = true
24
24
csrf.token.length = 32
@@ -28,7 +28,7 @@ mode.dev=true
28
28
results.pretty=true
29
29
watch=true
30
30
31
- module.testrunner = github.com/robfig /revel/modules/testrunner
31
+ module.testrunner = github.com/revel /revel/modules/testrunner
32
32
33
33
log.trace.output = off
34
34
log.info.output = stderr
Original file line number Diff line number Diff line change 1
1
package tests
2
2
3
- import "github.com/robfig /revel"
3
+ import "github.com/revel /revel"
4
4
5
5
type AppTest struct {
6
6
revel.TestSuite
Original file line number Diff line number Diff line change 5
5
"crypto/rand"
6
6
"encoding/base64"
7
7
"fmt"
8
- "github.com/robfig /revel"
8
+ "github.com/revel /revel"
9
9
"io"
10
10
)
11
11
You can’t perform that action at this time.
0 commit comments