From d3a9666f697fd8b5ee007ab7de1cbf0d1238ef75 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Fri, 3 Feb 2023 11:55:21 +0100 Subject: [PATCH] Fix reading compressed XML document --- service_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_provider.go b/service_provider.go index a74bdd42..30e012df 100644 --- a/service_provider.go +++ b/service_provider.go @@ -1555,7 +1555,7 @@ func (sp *ServiceProvider) ValidateLogoutResponseRedirect(query url.Values) erro } doc := etree.NewDocument() - if err := doc.ReadFromBytes(rawResponseBuf); err != nil { + if err := doc.ReadFromBytes(gr); err != nil { retErr.PrivateErr = err return retErr }