Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Explicitly stringify the request argument before applying deflate.

Things that aren't just bare strings but do stringify confuse rawdeflate -
do the stringify for it.
  • Loading branch information...
commit ebe3248e2e4c2c8663715ccdceaaea93dc404e3f 1 parent 6e0b369
Chris Andrews authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Net/SAML2/Binding/Redirect.pm
6 lib/Net/SAML2/Binding/Redirect.pm
View
@@ -70,9 +70,11 @@ authentication process with the IdP.
sub sign {
my ($self, $request, $relaystate) = @_;
-
+
+ my $input = "$request";
my $output = '';
- rawdeflate \$request => \$output;
+
+ rawdeflate \$input => \$output;
my $req = encode_base64($output, '');
my $u = URI->new($self->url);
Please sign in to comment.
Something went wrong with that request. Please try again.