Code

Fixed HTTP headers for top-level index in CGI script
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 6 Nov 2001 21:51:19 +0000 (21:51 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 6 Nov 2001 21:51:19 +0000 (21:51 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@367 57a73879-2fb5-44c3-a270-3262357dd7e2

MIGRATION.txt
cgi-bin/roundup.cgi

index 19ed5bde8364ab873f624751e6ffd3b59994d06d..3c9ead1c47ad2cd45c29b92587f560763b4e3f91 100644 (file)
@@ -81,3 +81,11 @@ MESSAGES_TO_AUTHOR has been added to the IssueClass in dbinit.py. Set to 'yes'
 to send nosy messages to the author. Default behaviour is to not send nosy
 messages to the author.
 
 to send nosy messages to the author. Default behaviour is to not send nosy
 messages to the author.
 
+
+CGI script roundup.cgi
+----------------------
+There have been some structural changes to the roundup.cgi script - you will
+need to install it again from the cgi-bin directory of the source
+distribution. Make sure you update the ROUNDUP_INSTANCE_HOMES after the
+copy.
+
index ad92274b4a170903e0d88b95d689e7f65d296748..7e38c42d38433e00b74442ccf44fe39d48f9f837 100755 (executable)
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundup.cgi,v 1.16 2001-11-01 22:04:37 richard Exp $
+# $Id: roundup.cgi,v 1.17 2001-11-06 21:51:19 richard Exp $
 
 # python version check
 import sys
 
 # python version check
 import sys
@@ -68,7 +68,7 @@ class RequestWrapper:
         self.wfile.write('Status: %s\r\n'%code)
     def send_header(self, keyword, value):
         self.wfile.write("%s: %s\r\n" % (keyword, value))
         self.wfile.write('Status: %s\r\n'%code)
     def send_header(self, keyword, value):
         self.wfile.write("%s: %s\r\n" % (keyword, value))
-    def end_headers(self, keyword, value):
+    def end_headers(self):
         self.wfile.write("\r\n")
 
 def main(out, err):
         self.wfile.write("\r\n")
 
 def main(out, err):
@@ -100,6 +100,7 @@ def main(out, err):
         import urllib
         request.send_response(200)
         request.send_header('Content-Type', 'text/html')
         import urllib
         request.send_response(200)
         request.send_header('Content-Type', 'text/html')
+        request.end_headers()
         w = request.wfile.write
         w('<html><head><title>Roundup instances index</title></head>\n')
         w('<body><h1>Roundup instances index</h1><ol>\n')
         w = request.wfile.write
         w('<html><head><title>Roundup instances index</title></head>\n')
         w('<body><h1>Roundup instances index</h1><ol>\n')
@@ -127,6 +128,12 @@ sys.stdout, sys.stderr = out, err
 
 #
 # $Log: not supported by cvs2svn $
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.16  2001/11/01 22:04:37  richard
+# Started work on supporting a pop3-fetching server
+# Fixed bugs:
+#  . bug #477104 ] HTML tag error in roundup-server
+#  . bug #477107 ] HTTP header problem
+#
 # Revision 1.15  2001/10/29 23:55:44  richard
 # Fix to CGI top-level index (thanks Juergen Hermann)
 #
 # Revision 1.15  2001/10/29 23:55:44  richard
 # Fix to CGI top-level index (thanks Juergen Hermann)
 #