diff options
| author | bwarsaw | 1999-12-27 22:54:55 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-12-27 22:54:55 +0000 |
| commit | c19205990d2da4fe7cf7f1ca28931aabafc6b206 (patch) | |
| tree | 3574ca45ef12556e8a47d266b4e9fde6cfbf5633 /Mailman/MailList.py | |
| parent | ef9e540bee34cdebcf667e4c82cef6e5ce6ec489 (diff) | |
| download | mailman-c19205990d2da4fe7cf7f1ca28931aabafc6b206.tar.gz mailman-c19205990d2da4fe7cf7f1ca28931aabafc6b206.tar.zst mailman-c19205990d2da4fe7cf7f1ca28931aabafc6b206.zip | |
GetScriptURL(): Use ./ if a relative script URL prefix is the empty
string.
Diffstat (limited to 'Mailman/MailList.py')
| -rw-r--r-- | Mailman/MailList.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index 7606c1a4e..0205319aa 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -183,6 +183,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, def GetScriptURL(self, scriptname, relative=0): if relative: prefix = '../' * Utils.GetNestingLevel() + if not prefix: + prefix = './' elif self.web_page_url: prefix = self.web_page_url else: |
