# HG changeset patch # User Benoit Boissinot # Date 1129695084 25200 # Node ID db571bcaa35d572aef44e3bef6c1f768a77b20ac # Parent 34cb3957d875ce3341c0ec4b86f016a60aded698 allow empty values for url so we can have /?tip diff -r 34cb3957d875 -r db571bcaa35d mercurial/hgweb.py --- a/mercurial/hgweb.py Tue Oct 18 20:06:34 2005 -0700 +++ b/mercurial/hgweb.py Tue Oct 18 21:11:24 2005 -0700 @@ -67,7 +67,7 @@ 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: