Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug introduced by replacing spaces by + in run_id #36877

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

ephraimbuddy
Copy link
Contributor

While working on sanitizing the run_id(#32293), I replaced spaces with + which is not an ideal way to quote a URL. This led to issues when users use spaces in their DAG run_id.
This commit fixes the issue by using urllib.parse.quote to properly quote the URL.

While working on sanitizing the run_id(apache#32293), I replaced spaces with +
which is not an ideal way to quote a URL. This led to issues when users
use spaces in their DAG run_id.
This commit fixes the issue by using urllib.parse.quote to properly quote
the URL.
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Jan 18, 2024
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.2 milestone Jan 18, 2024
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 18, 2024
@ephraimbuddy ephraimbuddy merged commit ec8fab5 into apache:main Jan 18, 2024
53 checks passed
@ephraimbuddy ephraimbuddy deleted the fix-space-bug branch January 18, 2024 22:53
jedcunningham pushed a commit that referenced this pull request Feb 9, 2024
While working on sanitizing the run_id(#32293), I replaced spaces with +
which is not an ideal way to quote a URL. This led to issues when users
use spaces in their DAG run_id.
This commit fixes the issue by using urllib.parse.quote to properly quote
the URL.

(cherry picked from commit ec8fab5)
ephraimbuddy added a commit that referenced this pull request Feb 22, 2024
While working on sanitizing the run_id(#32293), I replaced spaces with +
which is not an ideal way to quote a URL. This led to issues when users
use spaces in their DAG run_id.
This commit fixes the issue by using urllib.parse.quote to properly quote
the URL.

(cherry picked from commit ec8fab5)
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
While working on sanitizing the run_id(apache#32293), I replaced spaces with +
which is not an ideal way to quote a URL. This led to issues when users
use spaces in their DAG run_id.
This commit fixes the issue by using urllib.parse.quote to properly quote
the URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants