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

   
   closes: #52526 
   related: https://lists.apache.org/thread/hfr8q85rgr6knpp5wblbz301ysnmzhht
   
   ## Why
   
   - Move Flask ( or FAB you said ) out of airflow-core dependency 
   
   ## What
   
   - Replace the `Flask` usage in `serve_logs` module with `FastAPI`
       - also add `_validate_log_file_path` util
   - Add new `TestSecurePathValidation` class for testing 
`_validate_log_file_path`, as there isn't `send_from_directory` alternative in 
FastAPI as far as I know.
       - Or maybe `fastapi_app.mount` with `StaticFiles` ?   


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