ashb commented on PR #68617:
URL: https://github.com/apache/airflow/pull/68617#issuecomment-4742169370
> One nuance worth flagging: variable and xcom keys are matched with a :path
converter server-side, so they can legitimately contain slashes. Quoting them
sends a real slash as %2F, which the ASGI layer decodes back to / before
routing, so multi-segment keys still resolve while a leading .. can no longer
collapse onto another endpoint.
I think that's the correct behaviour. There was also problem reported
elsewhere when people were using an external secrets backend for variables and
needed the variable to start with a slash, i.e. `Variable.get("/foo/bar")`
which was previously having problems with. I think this change should fix that?
(or at least get part way towards it)
--
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]