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 -N -r1.8 -r1.8.2.1 --- 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 11:43:07 -0000 1.8.2.1 @@ -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 -N -r1.7 -r1.7.2.1 --- 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 11:43:07 -0000 1.7.2.1 @@ -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 -N -r1.5 -r1.5.2.1 --- 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 11:43:07 -0000 1.5.2.1 @@ -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.