This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit f9cfcf221408fb4cf7b25d1d0d43b260aed9bc18
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Apr 2 16:40:30 2026 +0100

    Remove the admin route that shows environment variables
---
 atr/admin/__init__.py | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/atr/admin/__init__.py b/atr/admin/__init__.py
index c584918d..31f7a5f8 100644
--- a/atr/admin/__init__.py
+++ b/atr/admin/__init__.py
@@ -491,19 +491,6 @@ async def delete_test_openpgp_keys_post(
     return await session.redirect(get.keys.keys)
 
 
[email protected]
-async def env(_session: web.Committer, _env: Literal["env"]) -> 
web.QuartResponse:
-    """
-    URL: GET /env
-
-    Display the environment variables.
-    """
-    env_vars = []
-    for key, value in os.environ.items():
-        env_vars.append(f"{key}={value}")
-    return web.TextResponse("\n".join(env_vars))
-
-
 @admin.typed
 async def keys_check_get(_session: web.Committer, _keys_check: 
Literal["keys/check"]) -> web.QuartResponse:
     """


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to