# HG changeset patch # User Benoit Boissinot # Date 2005-10-19 04:11:24 # Node ID db571bcaa35d572aef44e3bef6c1f768a77b20ac # Parent 34cb3957d875ce3341c0ec4b86f016a60aded698 allow empty values for url so we can have /?tip diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -67,7 +67,7 @@ class hgrequest: self.inp = inp or sys.stdin self.out = out or sys.stdout self.env = env or os.environ - self.form = cgi.parse(self.inp, self.env) + self.form = cgi.parse(self.inp, self.env, keep_blank_values=1) def write(self, *things): for thing in things: