You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2023/06/14 15:51:59 UTC

[superset] 09/18: fix: disable SHOW_STACKTRACE by default (#24137)

This is an automated email from the ASF dual-hosted git repository.

elizabeth pushed a commit to tag 2.1.1rc1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 4af81bf70ad33908479ea36ebb67213533b6a649
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Mon May 22 10:00:07 2023 +0100

    fix: disable SHOW_STACKTRACE by default (#24137)
---
 superset/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/config.py b/superset/config.py
index c365babfc3..f24b040e0f 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -265,9 +265,9 @@ FLASK_USE_RELOAD = True
 PROFILING = False
 
 # Superset allows server-side python stacktraces to be surfaced to the
-# user when this feature is on. This may has security implications
+# user when this feature is on. This may have security implications
 # and it's more secure to turn it off in production settings.
-SHOW_STACKTRACE = True
+SHOW_STACKTRACE = False
 
 # Use all X-Forwarded headers when ENABLE_PROXY_FIX is True.
 # When proxying to a different port, set "x_port" to 0 to avoid downstream issues.