Index: openacs-4/packages/attachments/www/attach.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/attach.tcl,v diff -u -r1.12.2.1 -r1.12.2.2 --- openacs-4/packages/attachments/www/attach.tcl 10 Sep 2015 08:30:12 -0000 1.12.2.1 +++ openacs-4/packages/attachments/www/attach.tcl 1 Feb 2017 16:04:17 -0000 1.12.2.2 @@ -7,10 +7,10 @@ @cvs-id $Id$ } -query { - {object_id:notnull} - {folder_id ""} + {object_id:naturalnum,notnull,notnull} + {folder_id:integer ""} {pretty_object_name ""} - {return_url:notnull} + {return_url:localurl,notnull} } set user_id [ad_conn user_id]