Under CFMX 6.1 on IIS6, if I request a URL with a query string containing
an invalid URL character encoding, I get a 500 Internal Server Error
response back from JRun. For example, requesting this:

>page.cfm?test=%zz

produces the response:

><head><title>JRun Servlet Error</title></head><h1>500 null</h1><body>
></body>

I know that %zz is an invalid character encoding--I'm purposefully trying
to break my app's interface with bad inputs, and then get all errors
properly funnelled into my own error handler. Where/how can I modify the
error handler that is producing this response? I've poked around in
/CFusionMX/wwwroot/WEB-INF/web.xml, and I see the following two entries,
but they don't appear to correspond to the error I'm getting back.

><error-page>
>         <exception-type>java.lang.Throwable</exception-type>
>         <location>/WEB-INF/exception/java/lang/Exception.cfm</location>
></error-page>
><error-page>
>         <error-code>500</error-code>
>         <location>/WEB-INF/exception/java/lang/Exception.cfm</location>
></error-page>

I also looked at the custom error pages in IIS, but since the content being
returned contains the string "JRun Servlet Error" I assume this is coming
from JRun rather than IIS.

Thanks,
Conan
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to