Index: openacs-4/packages/acs-kernel/acs-kernel.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/acs-kernel.info,v
diff -u -r1.136.2.21 -r1.136.2.22
--- openacs-4/packages/acs-kernel/acs-kernel.info 31 Aug 2016 18:57:41 -0000 1.136.2.21
+++ openacs-4/packages/acs-kernel/acs-kernel.info 2 Sep 2016 20:08:47 -0000 1.136.2.22
@@ -9,15 +9,15 @@
f
t
-
+
OpenACS Core Team
Routines and data models providing the foundation for OpenACS-based Web services.
- 2016-07-05
+ 2016-09-02
OpenACS
The OpenACS kernel contains the core datamodel create and drop scripts for such things as objects, groups, partiies and the supporting PL/SQL and PL/pgSQL procedures.
3
-
+
@@ -69,6 +69,7 @@
+
Index: openacs-4/packages/acs-tcl/tcl/security-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/security-procs.tcl,v
diff -u -r1.78.2.22 -r1.78.2.23
--- openacs-4/packages/acs-tcl/tcl/security-procs.tcl 2 Sep 2016 19:16:57 -0000 1.78.2.22
+++ openacs-4/packages/acs-tcl/tcl/security-procs.tcl 2 Sep 2016 20:08:47 -0000 1.78.2.23
@@ -18,7 +18,7 @@
# cookies (all are signed cookies):
# cookie value max-age secure
-# ad_session_id session_id,user_id,login_level SessionTimeout no
+# ad_session_id session_id,user_id,login_level SessionTimeout yes|no (when SecureSessionCookie set: yes)
# ad_user_login user_id,issue_time,auth_token never expires no
# ad_user_login_secure user_id,random never expires yes
# ad_secure_token session_id,random,peeraddr SessionLifetime yes
@@ -341,6 +341,7 @@
set domain [parameter::get -parameter CookieDomain -package_id [ad_acs_kernel_id]]
ad_unset_cookie -domain $domain -secure f ad_session_id
+ ad_unset_cookie -domain $domain -secure t ad_session_id
ad_unset_cookie -domain $domain -secure f ad_user_login
ad_unset_cookie -domain $domain -secure t ad_secure_token
ad_unset_cookie -domain $domain -secure t ad_user_login_secure
@@ -517,7 +518,10 @@
}
}
ad_set_signed_cookie \
- -secure f \
+ -secure [expr {[parameter::get \
+ -parameter SecureSessionCookie \
+ -package_id [ad_acs_kernel_id] \
+ -default 0] ? "t" : "f"}] \
-discard $discard -replace t -max_age $max_age -domain $domain \
ad_session_id "$session_id,$user_id,$login_level,[ns_time]"
}