From: richard Date: Wed, 13 Aug 2003 23:51:59 +0000 (+0000) Subject: fix file downloading X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34f7822484a6496e54b82c05ccd884e70001228e;p=roundup.git fix file downloading git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1810 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index dceadb3..b3f669d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,7 @@ are given with the most recent entry first. - sort multilinks a little better for grouping (sf bug 772935) - batch the (list) listings at 500 entries per page (sf bug 759906) - don't have RDBMS backends list retired nodes (sf bug 767319) +- fix file downloading 2003-07-29 0.6.0b4 diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index 684d8c5..eddd31c 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.129 2003-08-12 01:26:08 richard Exp $ +# $Id: client.py,v 1.130 2003-08-13 23:51:59 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -473,6 +473,7 @@ class Client: raise NotFound, designator # we just want to serve up the file named + self.opendb('admin') file = self.db.file self.additional_headers['Content-Type'] = file.get(nodeid, 'type') self.write(file.get(nodeid, 'content'))