github-advanced-security[bot] commented on code in PR #50536:
URL: https://github.com/apache/airflow/pull/50536#discussion_r2086664057


##########
dev/breeze/src/airflow_breeze/utils/packages.py:
##########
@@ -1046,6 +1049,9 @@
         if base_line.startswith("version = "):
             get_console().print(f"[info]Updating version suffix to 
{version_suffix} for {line}.")
             base_line = base_line.rstrip('"') + f'{version_suffix}"'
+        if "https://airflow.apache.org/"; in base_line and version_suffix:

Review Comment:
   ## Incomplete URL substring sanitization
   
   The string [https://airflow.apache.org/](1) may be at an arbitrary position 
in the sanitized URL.
   
   [Show more 
details](https://github.com/apache/airflow/security/code-scanning/474)



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