From dd0bc54768983f70f373f427ae0de26b64fb21a8 Mon Sep 17 00:00:00 2001 From: Hans Zandbelt <hans.zandbelt@surfnet.nl> Date: Mon, 30 Mar 2009 20:29:42 +0000 Subject: [PATCH] fix content-length calculation typo in InfoCard tokenservice RSTR git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1450 44740490-163a-0410-bde0-09ae8108e29a --- modules/InfoCard/www/tokenservice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/InfoCard/www/tokenservice.php b/modules/InfoCard/www/tokenservice.php index 62cc37bc5..f9ad93fcc 100644 --- a/modules/InfoCard/www/tokenservice.php +++ b/modules/InfoCard/www/tokenservice.php @@ -118,7 +118,7 @@ if ($authenticated){ } -Header('Content-length: '.strlen($buf)+1); +Header('Content-length: '.strlen($response)+1); print($response); //LOG -- GitLab