changeset 1407:db571bcaa35d

allow empty values for url so we can have /?tip
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 18 Oct 2005 21:11:24 -0700
parents 34cb3957d875
children 5010207c3527
files mercurial/hgweb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: