summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75853c3)
raw | patch | inline | side by side (parent: 75853c3)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 8 Oct 2002 03:27:24 +0000 (03:27 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 8 Oct 2002 03:27:24 +0000 (03:27 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1323 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/roundupdb.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index c8ae24f256d02bbd6217e0ee033a9b75d6a7111d..d9f3fc9a5c84f1fa27c4e20e4f9f5112fd19d035 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- fixed register with no session (sf bug 618611)
- fixed log / pid file path handling in roundup-server (sf bug 617981)
- fixed old gadfly compatibiltiy problem, for sure this time (sf bug 612873)
+- https URLs from config now recognised as valid (sf bug 619829)
2002-10-02 0.5.0
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index e1f2b5226a79d6cc210e5847e64f6b6a25ef3153..eb62444c7ba2e62d564069b13714f11070c7eb49 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundupdb.py,v 1.69 2002-09-20 01:20:31 richard Exp $
+# $Id: roundupdb.py,v 1.70 2002-10-08 03:27:24 richard Exp $
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
# simplistic check to see if the url is valid,
# then append a trailing slash if it is missing
base = self.db.config.TRACKER_WEB
- if not isinstance(base , type('')) or not base.startswith('http://'):
+ if (not isinstance(base , type('')) or
+ not base.startswith('http://'):
+ not base.startswith('https://')):
base = "Configuration Error: TRACKER_WEB isn't a " \
"fully-qualified URL"
elif base[-1] != '/' :