[
https://issues.apache.org/jira/browse/SOLR-14886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764371#comment-17764371
]
ASF subversion and git services commented on SOLR-14886:
--------------------------------------------------------
Commit cf302655ef6406c158f1866b4de9f56d5ca7dde8 in solr's branch
refs/heads/main from igiguere
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=cf302655ef6 ]
SOLR-14886 : suppress stack traces in query response (#1632)
Added a property "hideStackTrace" to solr.xml or system property
'solr.hideStackTrace' to not include error stack trace in the response.
---------
Co-authored-by: Christine Poerschke <[email protected]>
Co-authored-by: Alex Deparvu <[email protected]>
> Suppress stack trace in Query response.
> ---------------------------------------
>
> Key: SOLR-14886
> URL: https://issues.apache.org/jira/browse/SOLR-14886
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 8.6.2
> Reporter: Vrinda Davda
> Assignee: Alex Deparvu
> Priority: Minor
> Attachments: SOLR-14886.patch, SOLR-14886.patch
>
> Time Spent: 5h 40m
> Remaining Estimate: 0h
>
> Currently there is no way to suppress the stack trace in solr response when
> it throws an exception, like when a client sends a badly formed query string,
> or exception with status 500 It sends full stack trace in the response.
> I would propose a configuration for error messages so that the stack trace is
> not visible to avoid any sensitive information in the stack trace.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]