Skip to content

Commit 8fceadc

Browse files
authored
chore: update ory/x (#2871)
1 parent ed99539 commit 8fceadc

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ require (
7777
github.com/ory/kratos-client-go v0.6.3-alpha.1
7878
github.com/ory/mail/v3 v3.0.0
7979
github.com/ory/nosurf v1.2.7
80-
github.com/ory/x v0.0.506
80+
github.com/ory/x v0.0.510
8181
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
8282
github.com/pkg/errors v0.9.1
8383
github.com/pquerna/otp v1.3.0
@@ -151,6 +151,7 @@ require (
151151
github.com/fsnotify/fsnotify v1.6.0 // indirect
152152
github.com/fullstorydev/grpcurl v1.8.1 // indirect
153153
github.com/fxamacker/cbor/v2 v2.4.0 // indirect
154+
github.com/go-bindata/go-bindata v3.1.2+incompatible // indirect
154155
github.com/go-logr/logr v1.2.3 // indirect
155156
github.com/go-logr/stdr v1.2.2 // indirect
156157
github.com/go-openapi/analysis v0.21.4 // indirect

go.sum

+4
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49P
390390
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
391391
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
392392
github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
393+
github.com/go-bindata/go-bindata v3.1.2+incompatible h1:5vjJMVhowQdPzjE1LdxyFF7YFTXg5IgGVW4gBr5IbvE=
394+
github.com/go-bindata/go-bindata v3.1.2+incompatible/go.mod h1:xK8Dsgwmeed+BBsSy2XTopBn/8uK2HWuGSnA11C3Joo=
393395
github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w=
394396
github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q=
395397
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
@@ -1141,6 +1143,8 @@ github.com/ory/viper v1.7.5 h1:+xVdq7SU3e1vNaCsk/ixsfxE4zylk1TJUiJrY647jUE=
11411143
github.com/ory/viper v1.7.5/go.mod h1:ypOuyJmEUb3oENywQZRgeAMwqgOyDqwboO1tj3DjTaM=
11421144
github.com/ory/x v0.0.506 h1:kqkGwRuhZsyLf2zgjIyOkuY1nRfbWu2aPOQTk03j6ZQ=
11431145
github.com/ory/x v0.0.506/go.mod h1:xUtRpoiRARyJNPVk/fcCNKzyp25Foxt9GPlj8pd7egY=
1146+
github.com/ory/x v0.0.510 h1:DksQNoq7ssdR76mhcNxzaGPKmzaQEKWg2kannGsD8+w=
1147+
github.com/ory/x v0.0.510/go.mod h1:xUtRpoiRARyJNPVk/fcCNKzyp25Foxt9GPlj8pd7egY=
11441148
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
11451149
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
11461150
github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs=

session/handler.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,14 @@ func (h *Handler) adminListSessions(w http.ResponseWriter, r *http.Request, ps h
335335
}
336336

337337
// Parse request pagination parameters
338-
urlValues := r.URL.Query()
339-
opts, err := keysetpagination.Parse(&urlValues)
338+
opts, err := keysetpagination.Parse(r.URL.Query())
340339
if err != nil {
341340
h.r.Writer().WriteError(w, r, herodot.ErrBadRequest.WithError("could not parse parameter page_size"))
342341
return
343342
}
344343

345344
var expandables Expandables
346-
if es, ok := urlValues["expand"]; ok {
345+
if es, ok := r.URL.Query()["expand"]; ok {
347346
for _, e := range es {
348347
expand, ok := ParseExpandable(e)
349348
if !ok {

0 commit comments

Comments
 (0)