Replies: 4 comments
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
You need to url-encode this parametr i e replace |
Beta Was this translation helpful? Give feedback.
-
Converting it into a discussion - it's not clear if there is another solution here. We know using "/" in dag id is problematic in a number of cases, but it's not clear if it is an issue that needs documenting, explanation, prevention, or maybe leaving as is. |
Beta Was this translation helpful? Give feedback.
-
It wasn't an encoding problem, rather the 'string' flask converter doesn't accept slashes leading to the url not matching a route. Using 'path' allows it to accept slashes as well. #25774 will fix this. |
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version
2.3.2
What happened
Created a variable e.g.
a/variable
and couldn't get or delete itWhat you think should happen instead
i shouldn't've been allowed to create a variable with
/
, or the GET and DELETE should workHow to reproduce
create a variable with
/
, and then try and get it. the get will 404, even after html escape. delete also failsGET /variables/
works just fineOperating System
astro
Versions of Apache Airflow Providers
No response
Deployment
Astronomer
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions