From 82d4249e17fd2f9e0af772dca92403647b9cfef0 Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Mon, 22 May 2023 10:00:07 +0100 Subject: [PATCH] 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 6ad158460..d522e10ac 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.