[open-ils-commits] r8381 - trunk/Open-ILS/src/perlmods/OpenILS/WWW
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jan 14 17:54:31 EST 2008
Author: miker
Date: 2008-01-14 17:29:13 -0500 (Mon, 14 Jan 2008)
New Revision: 8381
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm
Log:
allow cgi params instead of a cookie for auth token
Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm 2008-01-14 22:09:33 UTC (rev 8380)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm 2008-01-14 22:29:13 UTC (rev 8381)
@@ -39,8 +39,8 @@
return Apache2::Const::NOT_FOUND unless (@$perms);
my $cgi = new CGI;
- my $auth_ses = $cgi->cookie('ses');
- my $ws_ou = $cgi->cookie('ws_ou');
+ my $auth_ses = $cgi->cookie('ses') || $cgi->param('ses');
+ my $ws_ou = $cgi->cookie('ws_ou') || $cgi->param('ws_ou');
my $url = $cgi->url;
More information about the open-ils-commits
mailing list