summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ff85c5)
raw | patch | inline | side by side (parent: 2ff85c5)
author | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 6 Nov 2001 22:00:34 +0000 (22:00 +0000) | ||
committer | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 6 Nov 2001 22:00:34 +0000 (22:00 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@368 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index 8bf1b378d3d6c3c936e04075434c6676574d07c7..a3f9a7f4ba9a66f5917941b9a1f15676c4faad7c 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.50 2001-11-05 23:45:40 richard Exp $
+# $Id: cgi_client.py,v 1.51 2001-11-06 22:00:34 jhermann Exp $
import os, cgi, pprint, StringIO, urlparse, re, traceback, mimetypes
import binascii, Cookie, time
self.form = cgi.FieldStorage(environ=env)
self.headers_done = 0
- self.debug = 0
+ try:
+ self.debug = int(env.get("ROUNDUP_DEBUG", 0))
+ except ValueError:
+ # someone gave us a non-int debug level, turn it off
+ self.debug = 0
def getuid(self):
return self.db.user.lookup(self.user)
#
# $Log: not supported by cvs2svn $
+# Revision 1.50 2001/11/05 23:45:40 richard
+# Fixed newuser_action so it sets the cookie with the unencrypted password.
+# Also made it present nicer error messages (not tracebacks).
+#
# Revision 1.49 2001/11/04 03:07:12 richard
# Fixed various cookie-related bugs:
# . bug #477685 ] base64.decodestring breaks