Index: openacs-4/packages/bookmarks/www/bookmark-add-import.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/www/bookmark-add-import.tcl,v diff -u -r1.12 -r1.13 --- openacs-4/packages/bookmarks/www/bookmark-add-import.tcl 7 Aug 2014 07:36:54 -0000 1.12 +++ openacs-4/packages/bookmarks/www/bookmark-add-import.tcl 27 Jun 2015 17:39:23 -0000 1.13 @@ -57,7 +57,7 @@ # If the user opts to create a new folder we need to provide this url # along with the whole url vars string to enable the user to come back # (also needed if the user needs to log in to the system first) -set this_url_urlenc [ad_urlencode "[ad_conn url]?[export_vars -url {viewed_user_id complete_url local_title return_url bookmark_id}]"] +set this_url_urlenc [ad_urlencode [export_vars -base [ad_conn url] -url {viewed_user_id complete_url local_title return_url bookmark_id}]] # Redirect the user to log in if he has not done so set user_id [ad_conn user_id]