You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2020/09/22 15:24:00 UTC

[jira] [Commented] (SOLR-14886) Suppress stack trace in Query response.

    [ https://issues.apache.org/jira/browse/SOLR-14886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200150#comment-17200150 ] 

Jason Gerlowski commented on SOLR-14886:
----------------------------------------

Curious: is there a particular use case you have in mind for this?  Is this an aesthetics thing, where you want to shield users from stacktraces that'll be extra-noise or alarming to them?  Or are you seeing some security or other concern here?

> Suppress stack trace in Query response.
> ---------------------------------------
>
>                 Key: SOLR-14886
>                 URL: https://issues.apache.org/jira/browse/SOLR-14886
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 8.6.2
>            Reporter: Vrinda Davda
>            Priority: Minor
>
> 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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org