dkranchii opened a new pull request, #74475:
URL: https://github.com/apache/airflow/pull/74475

   `GET` and `DELETE` on `/api/v2/connections/{connection_id}` returned 404 for 
any
   connection whose ID contains a slash, because the default path convertor 
stops
   matching at the first `/`. Both routes now use the `:path` convertor, 
matching
   what the execution API already does.
   `PATCH` deliberately keeps the default convertor: `ConnectionBody` validates
   `connection_id` against `^[\w.-]+$`, so a slashed ID cannot round-trip 
through
   the request body regardless — widening the URL pattern would only turn a 404
   into a 422.
   related: #57864
   ---
   ##### Was generative AI tooling used to co-author this PR?
   - [X] Yes — Cursor 


-- 
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