Forum OpenACS Development: Re: rp_handler and host-node mapped subsites

Posted by Ryan Gallimore on
In OCT it was decided that the erroneous URLs would be fixed instead of the RP. This is most likely MUCH easier.

These URLs don't satisfy the redirect condition in the RP so the POST is processed.

For the permissions admin include, here is an example of a modification on oacs-5-6 branch:

Index: www/permissions/perm-include.tcl
RCS file: /cvsroot/openacs-4/packages/acs-subsite/www/permissions/perm-include.tcl,v
retrieving revision 1.11
diff -u -r1.11 perm-include.tcl
--- www/permissions/perm-include.tcl 4 Jan 2008 16:34:01 -0000 1.11
+++ www/permissions/perm-include.tcl 17 Aug 2011 17:38:00 -0000
@@ -61,9 +61,7 @@
display_template {input type="checkbox" name="perm" value="@permissions.grantee_id@,remove"}

-set perm_url "[ad_conn subsite_url]permissions/"
+set perm_url "[subsite::get_url]permissions/"

if { ![exists_and_not_null user_add_url] } {
set user_add_url "${perm_url}perm-user-add"