From 6fd61c96c33c2ebb008abfc843560c4a2f4f0d46 Mon Sep 17 00:00:00 2001
From: Ezio Melotti <ezio.melotti@gmail.com>
Date: Tue, 10 May 2022 06:04:07 +0200
Subject: [PATCH] [3.7] Update Sphinx bpo role to use redirect URI. (GH-91893)

(cherry picked from commit 08cfe079503ffd19d8b7ab324f0fdb1c6b150ca8)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
---
 Doc/tools/extensions/pyspecific.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Doc/tools/extensions/pyspecific.py b/Doc/tools/extensions/pyspecific.py
index 3b6fa900591..4dd17861980 100644
--- a/Doc/tools/extensions/pyspecific.py
+++ b/Doc/tools/extensions/pyspecific.py
@@ -35,7 +35,7 @@
 import suspicious
 
 
-ISSUE_URI = 'https://bugs.python.org/issue%s'
+ISSUE_URI = 'https://bugs.python.org/issue?@action=redirect&bpo=%s'
 SOURCE_URI = 'https://github.com/python/cpython/tree/3.7/%s'
 
 # monkey-patch reST parser to disable alphabetic and roman enumerated lists
-- 
GitLab