Index: openacs-4/packages/acs-subsite/www/file.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/file.vuh,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-subsite/www/file.vuh 12 Jul 2009 01:08:30 -0000 1.8 +++ openacs-4/packages/acs-subsite/www/file.vuh 22 Oct 2010 14:31:14 -0000 1.9 @@ -6,7 +6,7 @@ # @creation-date 2006-08-01 # @cvs-id $Id$ -if {![regexp {^/([0-9]{1,8})(/(private)/([0-9]{1,8}))?(/(.*))?$} [ad_conn path_info] match object_id private_slash private private_parent_id anchor]} { +if {![regexp {^/([0-9]+)(/(private)/([0-9]+))?(/(.*))?$} [ad_conn path_info] match object_id private_slash private private_parent_id anchor]} { ad_return_warning "Invalid object id" [subst { The identifier given for this object is invalid. Please check your url or contact the webmaster if you think it should work. Index: openacs-4/packages/acs-subsite/www/image.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/image.vuh,v diff -u -r1.7 -r1.8 --- openacs-4/packages/acs-subsite/www/image.vuh 12 Jul 2009 01:08:30 -0000 1.7 +++ openacs-4/packages/acs-subsite/www/image.vuh 22 Oct 2010 14:31:14 -0000 1.8 @@ -6,7 +6,7 @@ # @creation-date 2006-08-01 # @cvs-id $Id$ set url [ad_conn path_info] -if {![regexp {^/([0-9]{1,8})(/(|thumbnail|avatar|info))?(/(private)/([0-9]{1,8}))?(/(.*))?$} $url match object_id extra_arg_slash extra_arg private_slash private private_parent_id filename_slash filename anchor]} { +if {![regexp {^/([0-9]+)(/(|thumbnail|avatar|info))?(/(private)/([0-9]+))?(/(.*))?$} $url match object_id extra_arg_slash extra_arg private_slash private private_parent_id filename_slash filename anchor]} { ad_return_warning "Invalid object id" [subst { The identifier given for this object (${object_id}) is invalid. Please check your url or contact the webmaster if you think it should work. Index: openacs-4/packages/acs-subsite/www/o.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/o.vuh,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-subsite/www/o.vuh 12 Jul 2009 01:08:30 -0000 1.5 +++ openacs-4/packages/acs-subsite/www/o.vuh 22 Oct 2010 14:31:14 -0000 1.6 @@ -8,7 +8,7 @@ @cvs-id $Id$ } {} -if {![regexp {^/([0-9]{1,8})(-(.+))?$} [ad_conn path_info] match object_id dummy anchor]} { +if {![regexp {^/([0-9]+)(-(.+))?$} [ad_conn path_info] match object_id dummy anchor]} { ad_return_warning "Invalid object id" [subst { The identifier given for this object is invalid. Please check your url or contact the webmaster if you think it should work.