You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Toby Jennings (JIRA)" <ji...@apache.org> on 2018/09/18 20:38:00 UTC

[jira] [Created] (AIRFLOW-3083) Trigger Dag Returns Redirect to Incorrect Path when Airflow is mounted under root

Toby Jennings created AIRFLOW-3083:
--------------------------------------

             Summary: Trigger Dag Returns Redirect to Incorrect Path when Airflow is mounted under root
                 Key: AIRFLOW-3083
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3083
             Project: Apache Airflow
          Issue Type: Bug
          Components: webserver
    Affects Versions: 1.10.0
            Reporter: Toby Jennings


Steps to reproduce:
 # Configure Airflow 1.10.0 for operation mounted at a subpath under root by setting "base_url" to, e.g., "http://localhost:8080/airflow"
 # Use web server UI to trigger a dag run.
 # A 404 error is returned.

 

This may be caused by several routes in www/views.py including /trigger/ returning a "redirect(origin)" where "origin" is set to "/admin/" instead of getting the appropriate subpath using url_for().



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)