potiuk commented on PR #66504: URL: https://github.com/apache/airflow/pull/66504#issuecomment-4487483439
@amoghrajesh — yes, commit 2 (`f0d28ed81c`, "Reject malformed bodies in core_api authz helpers with 400") is the FINDING-060 changes. They're visible in the current diff: - `_collect_teams_to_check` — `if raw is not None and not isinstance(raw, str): raise HTTPException(400, "'team_name' must be a string")` (security.py L777-782). - `requires_access_backfill` — `if dag_id is not None and not isinstance(dag_id, str): raise HTTPException(400, "'dag_id' must be a string")` (security.py L344-349). Plus parametrised tests for both in `test_security.py` (`test_requires_access_connection_non_string_team_name_returns_400` and `test_requires_access_backfill_non_string_dag_id_returns_400`). If GitHub's diff UI is hiding them, refreshing against PR HEAD `f0d28ed81c4feb42e6759bb2c83f1a15bef20985` should show them. --- Drafted-by: Claude Code (Opus 4.7); reviewed by @potiuk before posting -- 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]
