You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/26 19:19:51 UTC

[GitHub] [airflow] potiuk commented on issue #14838: local_executor failes when password contains `&` in SQL_ALCHEMY_CONN_CMD

potiuk commented on issue #14838:
URL: https://github.com/apache/airflow/issues/14838#issuecomment-827083664


   @Jake-Gillberg -> '&` is delimited of bash command. If you want to use it in a password you must escape it:
   
   With &:
   ```
   [jarek:~/code/airflow] make-code-pylint-2-8-compatible+ ± echo postgresql+psycopg2://airflow:hAY&Bv+w*,q24+JN@airflow_db/airflow
   [1] 280867
   postgresql+psycopg2://airflow:hAY
   bash: Bv+w*,q24+JN@airflow_db/airflow: No such file or directory
   [1]+  Done                    echo postgresql+psycopg2://airflow:hAY
   ```
   
   With \&:
   ```
   [jarek:~/code/airflow] make-code-pylint-2-8-compatible+ 6s 127 ± echo postgresql+psycopg2://airflow:hAY\&Bv+w*,q24+JN@airflow_db/airflow
   postgresql+psycopg2://airflow:hAY&Bv+w*,q24+JN@airflow_db/airflow
   [jarek:~/code/airflow] make-code-pylint-2-8-compatible+ 14s ± 
   
   
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org