Merge pull request #1883 from apache/cml/INFRA-22351

remove trailing slashes
diff --git a/data/nodes/gitbox.apache.org.yaml b/data/nodes/gitbox.apache.org.yaml
index 3a3a63c..9da0eee 100644
--- a/data/nodes/gitbox.apache.org.yaml
+++ b/data/nodes/gitbox.apache.org.yaml
@@ -214,19 +214,19 @@
 
       # Bunch of rewrites for INFRA-17956
       RewriteCond %%{}{QUERY_STRING} p=([^;.]+)\.git;a=commitdiff.*?h=([a-f0-9]+)
-      RewriteRule .* https://github.com/apache/%1/commit/%2/ [QSD]
+      RewriteRule .* https://github.com/apache/%1/commit/%2 [QSD]
 
       RewriteCond %%{}{QUERY_STRING} p=([^;.]+)\.git;a=history.*?;f=([^*].*?);.*?hb=([a-f0-9]+)
-      RewriteRule .* https://github.com/apache/%1/commits/%3/%2/ [QSD]
+      RewriteRule .* https://github.com/apache/%1/commits/%3/%2 [QSD]
 
       RewriteCond %%{}{QUERY_STRING} p=([^;.]+)\.git;a=blobdiff.*?hb=([a-f0-9]+)
-      RewriteRule .* https://github.com/apache/%1/commit/%2/ [QSD]
+      RewriteRule .* https://github.com/apache/%1/commit/%2 [QSD]
 
       RewriteCond %%{}{QUERY_STRING} p=([^;.]+)\.git;a=tree.*?;h=([a-f0-9]+);hb=([a-f0-9]+)
-      RewriteRule .* https://github.com/apache/%1/tree/%3/ [QSD]
+      RewriteRule .* https://github.com/apache/%1/tree/%3 [QSD]
 
       RewriteCond %%{}{QUERY_STRING} p=([^;.]+)\.git;a=patch.*?h=(.*)
-      RewriteRule .* https://github.com/apache/%1/commit/%2.patch/ [QSD]
+      RewriteRule .* https://github.com/apache/%1/commit/%2.patch [QSD]
 
       # Redirect to static index when /repos/asf is requested
       RewriteCond %%{}{QUERY_STRING} ^$