diff cgi-bin/roundup.cgi @ 1304:61ad556cfc8d

working toward 0.5.2 release
author Richard Jones <richard@users.sourceforge.net>
date Wed, 06 Nov 2002 11:38:43 +0000
parents 347657425a10
children d51cb5225d4a a1e38322bd19
line wrap: on
line diff
--- a/cgi-bin/roundup.cgi	Wed Nov 06 05:39:50 2002 +0000
+++ b/cgi-bin/roundup.cgi	Wed Nov 06 11:38:43 2002 +0000
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundup.cgi,v 1.34 2002-10-08 03:31:09 richard Exp $
+# $Id: roundup.cgi,v 1.35 2002-11-06 11:38:42 richard Exp $
 
 # python version check
 from roundup import version_check
@@ -149,7 +149,7 @@
             else:
                 protocol = 'http'
             absolute_url = '%s://%s%s/'%(protocol, os.environ['HTTP_HOST'],
-                os.environ['REQUEST_URI'])
+                os.environ.get('REQUEST_URI', ''))
             request.send_header('Location', absolute_url)
             request.end_headers()
             out.write('Moved Permanently')

Roundup Issue Tracker: http://roundup-tracker.org/