michael-s-molina commented on code in PR #26344:
URL: https://github.com/apache/superset/pull/26344#discussion_r1444739767


##########
superset/views/core.py:
##########
@@ -239,8 +239,6 @@ def explore_json_data(self, cache_key: str) -> 
FlaskResponse:
             return json_error_response(utils.error_msg_from_exception(ex), 400)
 
     EXPLORE_JSON_METHODS = ["POST"]
-    if not is_feature_enabled("ENABLE_EXPLORE_JSON_CSRF_PROTECTION"):

Review Comment:
   > To my understanding this feature flag would allow explore_json to accept 
HTTP GETs but still imposing CSRF protection.
   
   This feature flag was `False` by default, allowing `GET`. There's no other 
control than excluding `GET` when this feature flag is `True`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to