Skip to content

Commit 64a7676

Browse files
committed
Updated to support Revel release 0.9.0
1 parent b1c057e commit 64a7676

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ revel-csrf
22
==========
33

44
`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).
66

77
Code is based on the `nosurf` package implemented by
88
[Justinas Stankevičius](https://github.com/justinas/nosurf).
@@ -33,7 +33,7 @@ Simply call the CSRFFilter() filter in `app/init.go`.
3333

3434
import (
3535
"github.com/cbonello/revel-csrf"
36-
"github.com/robfig/revel"
36+
"github.com/revel/revel"
3737
)
3838

3939
func init() {

csrf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package csrf
55

66
import (
77
"crypto/subtle"
8-
"github.com/robfig/revel"
8+
"github.com/revel/revel"
99
"net/url"
1010
"regexp"
1111
)

exemptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
pathPackage "path"
99
"sync"
1010

11-
"github.com/robfig/revel"
11+
"github.com/revel/revel"
1212
)
1313

1414
// I'm not cetain that we need a mutex because exempted routes are generally

samples/demo/app/controllers/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package controllers
22

33
import (
4-
"github.com/robfig/revel"
4+
"github.com/revel/revel"
55
"github.com/cbonello/revel-csrf/samples/demo/app/routes"
66
"fmt"
77
)

samples/demo/app/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package app
22

33
import (
44
"github.com/cbonello/revel-csrf"
5-
"github.com/robfig/revel"
5+
"github.com/revel/revel"
66
)
77

88
func init() {

samples/demo/conf/app.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ log.error.prefix = "ERROR "
1818
# The default language of this application.
1919
i18n.default_language=en
2020

21-
module.static=github.com/robfig/revel/modules/static
21+
module.static=github.com/revel/revel/modules/static
2222

2323
csrf.ajax = true
2424
csrf.token.length = 32
@@ -28,7 +28,7 @@ mode.dev=true
2828
results.pretty=true
2929
watch=true
3030

31-
module.testrunner = github.com/robfig/revel/modules/testrunner
31+
module.testrunner = github.com/revel/revel/modules/testrunner
3232

3333
log.trace.output = off
3434
log.info.output = stderr

samples/demo/tests/apptest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package tests
22

3-
import "github.com/robfig/revel"
3+
import "github.com/revel/revel"
44

55
type AppTest struct {
66
revel.TestSuite

tokengen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"crypto/rand"
66
"encoding/base64"
77
"fmt"
8-
"github.com/robfig/revel"
8+
"github.com/revel/revel"
99
"io"
1010
)
1111

0 commit comments

Comments
 (0)