[rt-users] backslash url gives system error

Karl Boyken boyken at divms.uiowa.edu
Tue Nov 25 17:17:20 EST 2008


Interesting--it does not work.  I tried setting $LogToScreen to undef, 
'emergency', and 0, but the error still displays on the screen.  (I'm 
cleaning out the mason cache and restarting httpd.)

Karl Boyken

Drew Barnes wrote:
> $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
> 

-- 
Karl Boyken, system administrator 
karl-boyken at uiowa.edu
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3270 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20081125/29bd4478/attachment.bin>


More information about the rt-users mailing list