You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ak...@apache.org on 2026/04/14 04:13:44 UTC
(tooling-trusted-releases) branch main updated: Adding audit_guidance for redirect; fixes #995
This is an automated email from the ASF dual-hosted git repository.
akm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new 6d91a88b Adding audit_guidance for redirect; fixes #995
6d91a88b is described below
commit 6d91a88b14a5b81e68853353d492bc044d75197e
Author: Andrew K. Musselman <ak...@apache.org>
AuthorDate: Mon Apr 13 21:13:17 2026 -0700
Adding audit_guidance for redirect; fixes #995
---
atr/post/keys.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/atr/post/keys.py b/atr/post/keys.py
index 16c4c8e3..72d9f139 100644
--- a/atr/post/keys.py
+++ b/atr/post/keys.py
@@ -257,6 +257,7 @@ async def _fetch_keys_from_url(keys_url: str) -> str:
try:
timeout = aiohttp.ClientTimeout(total=30)
async with util.create_secure_session(timeout=timeout) as session:
+ # audit_guidance known issue: redirect without domain validation; will change when key import is refactored
async with session.get(keys_url, allow_redirects=True) as response:
response.raise_for_status()
content_length = response.content_length
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org