mirror of
https://github.com/fosrl/badger.git
synced 2025-05-12 21:30:42 +01:00
remove url escaping
This commit is contained in:
parent
7a018918f8
commit
480730ba38
1 changed files with 1 additions and 2 deletions
3
main.go
3
main.go
|
@ -6,7 +6,6 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
@ -86,7 +85,7 @@ func (p *Badger) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
|
|||
|
||||
verifyURL := fmt.Sprintf("%s/badger/verify-session", p.apiBaseUrl)
|
||||
|
||||
originalRequestURL := url.QueryEscape(fmt.Sprintf("%s://%s%s", p.getScheme(req), req.Host, req.URL.RequestURI()))
|
||||
originalRequestURL := fmt.Sprintf("%s://%s%s", p.getScheme(req), req.Host, req.URL.RequestURI())
|
||||
|
||||
cookieData := VerifyBody{
|
||||
Sessions: SessionData{
|
||||
|
|
Loading…
Reference in a new issue