changeset 4663:68628fe3b091

fix wrong links in attachment notifications
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 24 Mar 2009 22:10:41 +0100
parents 922550c3dd25
children 14017d47a003 e42fc41f71a4
files MoinMoin/events/emailnotify.py MoinMoin/events/jabbernotify.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/events/emailnotify.py	Sat Mar 14 19:32:25 2009 +0100
+++ b/MoinMoin/events/emailnotify.py	Tue Mar 24 22:10:41 2009 +0100
@@ -136,7 +136,7 @@
     for lang in subscribers:
         recipients.extend(subscribers[lang])
 
-    attachlink = request.getBaseURL() + getAttachUrl(event.pagename, event.filename, request)
+    attachlink = request.getQualifiedURL(getAttachUrl(event.pagename, event.filename, request))
     pagelink = request.getQualifiedURL(page.url(request, {}))
 
     for lang in subscribers:
--- a/MoinMoin/events/jabbernotify.py	Sat Mar 14 19:32:25 2009 +0100
+++ b/MoinMoin/events/jabbernotify.py	Tue Mar 24 22:10:41 2009 +0100
@@ -74,7 +74,7 @@
     for lang in subscribers:
         recipients.extend(subscribers[lang])
 
-    attachlink = request.getBaseURL() + getAttachUrl(event.pagename, event.filename, request)
+    attachlink = request.getQualifiedURL(getAttachUrl(event.pagename, event.filename, request))
     pagelink = request.getQualifiedURL(page.url(request, {}))
 
     for lang in subscribers.keys():