Skip to content

Strip white spaces from values entered into fields in Airflow UI Connections form #25240

Description

@drdenzy

Apache Airflow version

2.3.3 (latest released)

What happened

I accidentally (and then intentionally) added leading and trailing white spaces while adding connection parameters in Airflow UI Connections form. What followed was an error message that was not so helpful in tracking down the input error by the user.

What you think should happen instead

Ideally, I expected that there should be a frontend or backend logic that strips off accidental leading or trailing white spaces when adding Connections parameters in Airflow.

How to reproduce

Intentionally add leading or trailing white spaces while adding Connections parameters.
Screenshot 2022-07-22 at 18 49 54

Operating System

Mac OS

Versions of Apache Airflow Providers

No response

Deployment

Astronomer

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:webserverWebserver related Issueskind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions