CVS: tmda-cgi ChangeLog,1.58,1.59 Install.py,1.26,1.27
Gre7g Luterman <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda-cgi In directory sc8-pr-cvs1:/tmp/cvs-serv9854 Modified Files: ChangeLog Install.py Log Message: Improved virtual-user domain guesser logic. Index: ChangeLog =================================================================== RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- ChangeLog 21 Aug 2003 03:46:50 -0000 1.58 +++ ChangeLog 23 Aug 2003 16:03:25 -0000 1.59 @@ -1,3 +1,7 @@ +2003-08-22 Gre7g Luterman <[email protected]> + + * Improved virtual-user domain guesser logic. + 2003-08-20 Gre7g Luterman <[email protected]> * Before installing, check to see if we have write permission to home Index: Install.py =================================================================== RCS file: /cvsroot/tmda/tmda-cgi/Install.py,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- Install.py 21 Aug 2003 03:46:50 -0000 1.26 +++ Install.py 23 Aug 2003 16:03:25 -0000 1.27 @@ -656,7 +656,7 @@ } Dict["ShortUrlDom"] = re.sub("^www\.", "", Dict["UrlDomain"], re.I) Dict["qUser"] = re.sub("\.", ":", Dict["User"]) - Match = re.search(".*/domains?/([^\./]+\.[^/]+)/", Dict["Home"]) + Match = re.search(".*/([^\./]+\.[^/]+)/[^/]+/?$", Dict["Home"]) if Match: Dict["Domain"] = Match.group(1) # Load the display template _______________________________________ tmda-cvs mailing list http://tmda.net/lists/listinfo/tmda-cvs