This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 9d0d30da0e74fbd69bd1680328e14f3368098d47 Author: Alex Begg <[email protected]> AuthorDate: Thu Aug 27 04:07:05 2020 -0700 URL encode execution date in the Last Run link (#10595) Fixes #10434 --- airflow/www_rbac/templates/airflow/dags.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www_rbac/templates/airflow/dags.html b/airflow/www_rbac/templates/airflow/dags.html index 8e867b5..6ae3f50 100644 --- a/airflow/www_rbac/templates/airflow/dags.html +++ b/airflow/www_rbac/templates/airflow/dags.html @@ -366,7 +366,7 @@ last_run = json[safe_dag_id].last_run; g = d3.select('div#last-run-' + safe_dag_id) g.selectAll('a') - .attr("href", "{{ url_for('Airflow.graph') }}?dag_id=" + encodeURIComponent(dag_id) + "&execution_date=" + last_run) + .attr("href", "{{ url_for('Airflow.graph') }}?dag_id=" + encodeURIComponent(dag_id) + "&execution_date=" + encodeURIComponent(last_run)) .insert(isoDateToTimeEl.bind(null, last_run, {title: false})); g.selectAll('span') // We don't translate the timezone in the tooltip, that stays in UTC.
