You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ma...@apache.org on 2021/11/07 10:53:08 UTC
[dubbo-go-pixiu] 02/21: update:csrf import
This is an automated email from the ASF dual-hosted git repository.
mark4z pushed a commit to branch 0.4.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
commit 82b85ff53c8c06f51133853e0a9af732dcbfa21c
Author: baerwang <17...@qq.com>
AuthorDate: Sun Oct 17 20:02:57 2021 +0800
update:csrf import
Former-commit-id: 2b84d8f087dd22aac1609b41072d0d32af7cfc6f
---
pkg/filter/csrf/csrf.go | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pkg/filter/csrf/csrf.go b/pkg/filter/csrf/csrf.go
index ba85f08..69d7358 100644
--- a/pkg/filter/csrf/csrf.go
+++ b/pkg/filter/csrf/csrf.go
@@ -21,10 +21,13 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
+ http2 "net/http"
+)
+
+import (
"github.com/apache/dubbo-go-pixiu/pkg/common/constant"
"github.com/apache/dubbo-go-pixiu/pkg/common/extension/filter"
"github.com/apache/dubbo-go-pixiu/pkg/context/http"
- http2 "net/http"
)
const (