jcom000 opened a new issue, #25103:
URL: https://github.com/apache/airflow/issues/25103

   ### Apache Airflow version
   
   2.3.2
   
   ### What happened
   
   Created a variable e.g. `a/variable` and couldn't get or delete it
   
   ### What you think should happen instead
   
   i shouldn't've been allowed to create a variable with `/`, or the GET and 
DELETE should work
   
   ### How to reproduce
   
   
![image](https://user-images.githubusercontent.com/98349137/179311482-e3a74683-d855-4013-b27a-01dfae7db0ff.png)
   
![image](https://user-images.githubusercontent.com/98349137/179311639-7640b0b5-38c6-4002-a04c-5bcd8f8a0784.png)
   
   ```
   DELETE /variables/{variable_key}
   GET /variables/{variable_key}
   ```
   create a variable with `/`, and then try and get it. the get will 404, even 
after html escape. delete also fails
   `GET /variables/` works just fine
   
   ### Operating 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?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to