mistercrunch commented on code in PR #31692:
URL: https://github.com/apache/superset/pull/31692#discussion_r2017730899
##########
superset/initialization/__init__.py:
##########
@@ -701,3 +703,34 @@ class SupersetIndexView(IndexView):
@expose("/")
def index(self) -> FlaskResponse:
return redirect("/superset/welcome/")
+
+ @staticmethod
+ def is_safe_url(target: str) -> bool:
Review Comment:
might belong in `superset/utils/urls.py` would be surprised if we don't
already have a similar method there, grepping for `urlparse` or `next=` could
point to a similar method.
--
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]