[rt-users] Problem with interpretation of images

Thomas Sibley trs at bestpractical.com
Mon Jun 4 09:53:59 EDT 2012


On 06/04/2012 08:57 AM, Alexander Reintzsch wrote:
> I face a problem with images I put in
> /opt/rt4/local/plugins/RTx-MyPlugin/html/NoAuth/img
> 
> Some pictures are loaded correctly and some cause errors.
> 
> The reason for this is, that the picture-files are interpreted by the
> perl-interpreter and if the file contains a <% or <$ or simular things,
> that the interpreter is looking for, it throws an error.
> 
> What can I do to fix this?

Use an autohandler to serve the images statically instead of through
Mason automatically.  See how core RT does this in
share/html/NoAuth/images/autohandler

Thomas



More information about the rt-users mailing list