mercurial/hgweb/hgweb_mod.py
changeset 36810 886fba199022
parent 36808 0031e972ded2
child 36811 cfb9ef24968c
--- a/mercurial/hgweb/hgweb_mod.py	Thu Mar 08 11:21:46 2018 -0800
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Mar 08 11:33:33 2018 -0800
@@ -330,7 +330,7 @@
 
         # Route it to a wire protocol handler if it looks like a wire protocol
         # request.
-        protohandler = wireprotoserver.parsehttprequest(rctx, wsgireq, query,
+        protohandler = wireprotoserver.parsehttprequest(rctx, wsgireq, req,
                                                         self.check_perm)
 
         if protohandler: