diff mercurial/hgweb/protocol.py @ 13721:3458c15ab2f0

wireproto: fix handling of '*' args for HTTP and SSH
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Tue, 22 Mar 2011 07:38:32 +0100
parents ca6e2adc3e4d
children ce99d887585f
line wrap: on
line diff
--- a/mercurial/hgweb/protocol.py	Tue Mar 22 07:38:32 2011 +0100
+++ b/mercurial/hgweb/protocol.py	Tue Mar 22 07:38:32 2011 +0100
@@ -22,7 +22,7 @@
             if k == '*':
                 star = {}
                 for key in self.req.form.keys():
-                    if key not in keys:
+                    if key != 'cmd' and key not in keys:
                         star[key] = self.req.form[key][0]
                 data['*'] = star
             else: