fix behavior of trailing slash redirection when a query string is involved (closes #23112)
diff --git a/Misc/NEWS b/Misc/NEWS
index 8d44926..b204aeb 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@
 Library
 -------
 
+- Issue #23112: Fix SimpleHTTPServer to correctly carry the query string and
+  fragment when it redirects to add a trailing slash.
+
 - Issue #23093: In the io, module allow more operations to work on detached
   streams.