[rt-users] backslash url gives system error

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Tue Nov 25 16:07:02 EST 2008


$LogToScreen in RT_SiteConfig

Fix has existed as long as I have administered RT (3.2)


Karl Boyken wrote:
> When a backslash is appended to the url for our RT 3.6.7 site (running 
> with Perl 5.10.0), RT tosses a system error, which exposes information 
> about where we've installed Perl and RT and their versions.  Is this 
> fixed in 3.8.X?  If not, is a fix forthcoming?  Thanks
>
> Here's the error, with paths changed:
>
>
> System error
> error:      could not find component for initial path '/\' (component 
> roots are: '/path_to_rt/local/html', '/path_to_rt/share/html')
> context:     
> ...     
> 207:      $self->{out_method} = sub { $$bufref .= $_[0] };
> 208:      }
> 209:      $self->{use_internal_component_caches} =
> 210:      $self->{interp}->use_internal_component_caches;
> 211:      $self->_initialize;
> 212:     
> 213:      return $self;
> 214:      }
> 215:     
> ...     
> code stack:      
> /path_to_perl/lib/site_perl/5.10.0/HTML/Mason/Request.pm:211
> /path_to_perl/lib/site_perl/5.10.0/Class/Container.pm:275
> /path_to_perl/lib/site_perl/5.10.0/Class/Container.pm:353
> /path_to_perl/lib/site_perl/5.10.0/HTML/Mason/Interp.pm:348
> /path_to_perl/lib/site_perl/5.10.0/HTML/Mason/Interp.pm:342
> /path_to_perl/lib/site_perl/5.10.0/HTML/Mason/CGIHandler.pm:121
> /path_to_perl/lib/site_perl/5.10.0/HTML/Mason/CGIHandler.pm:73
> /path_to_rt/bin/mason_handler.fcgi:78
> raw error
>
>
> Karl Boyken
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com

-- 
Drew Barnes
Applications Analyst
Network Resources Department
Raymond Walters College
University of Cincinnati




More information about the rt-users mailing list