Mason attempting to parse image files

I’m running rt 3.6.0pre1 using sqlite and standalone_httpd in a test
environment.

I’m trying to update the logo by following the instructions at
http://wiki.bestpractical.com/index.cgi?ChangeLogo which works but the
image that I’m attempting to use is unable to load in the WebUI.
It seems that the standalone_httpd is allowing Mason to process the
image file(s) in /NoAuth/images/ and the image that I want to use has
the string ‘<%’ or ‘<&’ in it somewhere. I’ve looked on the Mason
website and found instructions for preventing Mason from attempting to
parse image files but they are specific to using Apache. Is there a way
to do the same with the standalone_httpd?

Thanks

Joshua Colson jcolson@voidgate.org

I’m running rt 3.6.0pre1 using sqlite and standalone_httpd in a test
environment.

I’m trying to update the logo by following the instructions at
http://wiki.bestpractical.com/index.cgi?ChangeLogo which works but the
image that I’m attempting to use is unable to load in the WebUI.
It seems that the standalone_httpd is allowing Mason to process the
image file(s) in /NoAuth/images/ and the image that I want to use has
the string ‘<%’ or ‘<&’ in it somewhere. I’ve looked on the Mason
website and found instructions for preventing Mason from attempting to
parse image files but they are specific to using Apache. Is there a way
to do the same with the standalone_httpd?

Isn’t there an autohanler in that directory that does this for you?

I’m running rt 3.6.0pre1 using sqlite and standalone_httpd in a test
environment.

I’m trying to update the logo by following the instructions at
http://wiki.bestpractical.com/index.cgi?ChangeLogo which works but the
image that I’m attempting to use is unable to load in the WebUI.
It seems that the standalone_httpd is allowing Mason to process the
image file(s) in /NoAuth/images/ and the image that I want to use has
the string ‘<%’ or ‘<&’ in it somewhere. I’ve looked on the Mason
website and found instructions for preventing Mason from attempting to
parse image files but they are specific to using Apache. Is there a way
to do the same with the standalone_httpd?

Isn’t there an autohanler in that directory that does this for you?

In fact, there is. I’m shooting for the award for most stupid human
mistakes on a mailing list in a week. }8-/

I was adding the content into local/html/NoAuth/images but I didn’t copy
over the autohandler.

Thanks Jesse.

Joshua Colson jcolson@voidgate.org
VoidGate InterNetworks

I’m running rt 3.6.0pre1 using sqlite and standalone_httpd in a test
environment.

I’m trying to update the logo by following the instructions at
http://wiki.bestpractical.com/index.cgi?ChangeLogo which works but the
image that I’m attempting to use is unable to load in the WebUI.
It seems that the standalone_httpd is allowing Mason to process the
image file(s) in /NoAuth/images/ and the image that I want to use has
the string ‘<%’ or ‘<&’ in it somewhere. I’ve looked on the Mason
website and found instructions for preventing Mason from attempting to
parse image files but they are specific to using Apache. Is there a way
to do the same with the standalone_httpd?

Isn’t there an autohanler in that directory that does this for you?

In fact, there is. I’m shooting for the award for most stupid human
mistakes on a mailing list in a week. }8-/

I was adding the content into local/html/NoAuth/images but I didn’t copy
over the autohandler.
Hm, does it mean that if you create local/html/NoAuth/images/xxx.gif
(without copy of autohandler) then RT doesn’t run autohandler from
share/html? If so then it sounds like bug in HTML::Mason.

Thanks Jesse.


Joshua Colson jcolson@voidgate.org
VoidGate InterNetworks


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

Best regards, Ruslan.

Isn’t there an autohanler in that directory that does this for you?

In fact, there is. I’m shooting for the award for most stupid human
mistakes on a mailing list in a week. }8-/

I was adding the content into local/html/NoAuth/images but I didn’t copy
over the autohandler.
Hm, does it mean that if you create local/html/NoAuth/images/xxx.gif
(without copy of autohandler) then RT doesn’t run autohandler from
share/html? If so then it sounds like bug in HTML::Mason.

Yes. It does not automatically use the autohandler in the distribution
html/NoAuth/images directory. So the autohandler should work like the
rest of the overlays? If so, I’ll subscribe/post this problem to the
HTML::Mason list.


Best regards, Ruslan.

Joshua Colson jcolson@voidgate.org