[jira] [Commented] (COCOON-2371) Allow stack traces in default error pages to be disabled
"Christopher Schultz (Jira)" <[email protected]> Tue, 29 Mar 2022 15:04:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.cocoon.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/COCOON-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514144#comment-17514144 ]
Christopher Schultz commented on COCOON-2371:
---------------------------------------------
This patch adds two optional parameters to exception2html.xslt: stack-traces and java-stack-traces. They are expected to be strings representing boolean flags and both default to 'true'.
Setting java-stack-traces to anything other than 'true' will cause the Java stack trace to be suppressed from the default error page.
Setting stack-traces to anything other than 'true' will cause both the Cocoon "stack trace" (the config-file traces and XSLTs) and the Java stack traces to be suppressed.
> Allow stack traces in default error pages to be disabled
> --------------------------------------------------------
>
> Key: COCOON-2371
> URL: https://issues.apache.org/jira/browse/COCOON-2371
> Project: Cocoon
> Issue Type: Improvement
> Components: * Cocoon Core
> Affects Versions: 2.1.13
> Reporter: Christopher Schultz
> Priority: Minor
> Attachments: COCOON-2371.diff
>
>
> If you want to disable stack traces in Cocoon, you have to completely replace the default error pages. It should be configurable to disable stack traces on the default error pages.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)