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/07/26 10:28:56 UTC

[GitHub] [airflow] potiuk commented on issue #15133: EmailOperator / email on failure fails with smtp in airflow 2.0.1

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


   > FWIW I believe I also ran into this issue with the `postgresql` password. I had special characters (`%`, `&`, `+`) in it and airflow was not able to use the connection string. Changing to an alphanumeric password fixed the problem.
   
   @henryzhangsta  This is a different issue with Postgres connection URL. When you embed your password in URL, you MUST Percent-encode it (see https://datatracker.ietf.org/doc/html/rfc3986). This is part of specification and this has nothing to do with Airflow. 
   
   See: https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html#handling-of-special-characters-in-connection-params
   
   We even have a tool in Airlfow to allow you to generate connection URI with proper, URI-standard compliant encoding in Airflow to make it easier:
   
   https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html#generating-a-connection-uri
   
   So you can still use even the "restricted" characters as long as you properly encode them.


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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