You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2026/05/13 17:55:42 UTC
(allura) 01/14: [#8603] don't follow redirects on trac import
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 06d41c29ab251f0c737f5df669b4578ee50255e2
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Wed Apr 29 17:36:25 2026 -0400
[#8603] don't follow redirects on trac import
---
ForgeImporters/forgeimporters/trac/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ForgeImporters/forgeimporters/trac/__init__.py b/ForgeImporters/forgeimporters/trac/__init__.py
index fa3ddd371..8d8b04951 100644
--- a/ForgeImporters/forgeimporters/trac/__init__.py
+++ b/ForgeImporters/forgeimporters/trac/__init__.py
@@ -41,7 +41,7 @@ def _convert_to_python(self, value, state=None):
value = value.rstrip('/') + '/'
try:
- resp = requests.head(value, allow_redirects=True, timeout=10)
+ resp = requests.head(value, timeout=10)
except OSError:
# fall through to 'raise' below
pass