This is an automated email from the ASF dual-hosted git repository. villebro pushed a commit to branch 1.3 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 768a1dcc1238796ec071a71ae1b96806b8e836cb Author: Daniel Vaz Gaspar <[email protected]> AuthorDate: Mon Oct 4 13:52:57 2021 +0100 fix: don't log invalid redirect URL send by user (#16955) (cherry picked from commit 6d1fbb06682c92c0f824a761e1b8984b26eb58bf) --- superset/views/redirects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/views/redirects.py b/superset/views/redirects.py index 01ac96a..dc5ebf5 100644 --- a/superset/views/redirects.py +++ b/superset/views/redirects.py @@ -65,7 +65,7 @@ class R(BaseSupersetView): # pylint: disable=invalid-name def shortner(self) -> FlaskResponse: # pylint: disable=no-self-use url = request.form.get("data") if not self._validate_url(url): - logger.warning("Invalid URL: %s", url) + logger.warning("Invalid URL") return Response("Invalid URL", 400) obj = models.Url(url=url) db.session.add(obj)
