mercurial/hgweb/hgweb_mod.py
changeset 36810 886fba199022
parent 36808 0031e972ded2
child 36811 cfb9ef24968c
equal deleted inserted replaced
36809:3c15b84ab66c 36810:886fba199022
   328             query = wsgireq.env[r'QUERY_STRING'].partition(r'&')[0]
   328             query = wsgireq.env[r'QUERY_STRING'].partition(r'&')[0]
   329             query = query.partition(r';')[0]
   329             query = query.partition(r';')[0]
   330 
   330 
   331         # Route it to a wire protocol handler if it looks like a wire protocol
   331         # Route it to a wire protocol handler if it looks like a wire protocol
   332         # request.
   332         # request.
   333         protohandler = wireprotoserver.parsehttprequest(rctx, wsgireq, query,
   333         protohandler = wireprotoserver.parsehttprequest(rctx, wsgireq, req,
   334                                                         self.check_perm)
   334                                                         self.check_perm)
   335 
   335 
   336         if protohandler:
   336         if protohandler:
   337             try:
   337             try:
   338                 if query:
   338                 if query: