Skip to content

Commit

Permalink
Fix reading compressed XML document
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderzobnin authored and mgyongyosi committed Oct 25, 2023
1 parent 2bbffec commit d3a9666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d3a9666

Please sign in to comment.