You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2022/09/15 00:31:15 UTC
[airflow] branch main updated: Fix UI redirect (#26409)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 56e7555c42 Fix UI redirect (#26409)
56e7555c42 is described below
commit 56e7555c42f013f789a4b718676ff09b4a9d5135
Author: Jed Cunningham <66...@users.noreply.github.com>
AuthorDate: Wed Sep 14 17:31:07 2022 -0700
Fix UI redirect (#26409)
Co-authored-by: Konstantin Weddige <ko...@lutrasecurity.com>
---
airflow/www/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/www/views.py b/airflow/www/views.py
index 21d8bdcaab..5d609d044b 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2329,7 +2329,7 @@ class Airflow(AirflowBaseView):
task_id = args.get('task_id')
dag_run_id = args.get('dag_run_id')
state = args.get('state')
- origin = args.get('origin')
+ origin = get_safe_url(args.get('origin'))
if 'map_index' not in args:
map_indexes: list[int] | None = None