Fork me on GitHub
Current Releases are 2.1 stable (major release) and 2.0.18.11 (security patch for 2.0)
We've also rebooted our GitHub repo, docs, and more!

Patch for ProxyConnect problems

edited November 2010 in Questions
Hi,

Here is the solution to the problems with ProxyConnect 1.8.4:

The bug causes the first 4 characters of the SSO response to be discarded. If your SSO response starts at the exact beginning of the http body, you'll have a problem.

File: /vanilla/library/core/functions.general.php
(Note this is part of Vanilla core, the ProxyConnect plugin uses it.)

Around line Line 1250 of Vanilla release 2.0.14
if (!$Success)
return $Response;

Change to:
if ($Success)
return $Response;

The reason this bug didn't affect everybody:
If your SSO response started later on in the http body, then the omission of the first 4 characters wouldn't affect you.

My thanks to the Vanilla sw developers for some great sw! I've just started using it and am very pleased with it.

Regards,

Larry

Comments

Sign In or Register to comment.