Description

I have subscribed a MM wiki page page which sends to me attachfile notifications having the script_name duplicated in the URLs.

Steps to reproduce

  1. do this...

Example

Component selection

events.email_notify.handle_file_attached

attachlink = request.getBaseURL() + getAttachUrl(event.pagename, event.filename, request)

request.getBaseURL() endswith the name and getAttachUrl starts with it

e.g

http://localhost/mywiki//mywiki/ArnicaTest?action=AttachFile&do=get&target=2978779447_91a9070c27_o.jpg

Details

MoinMoin Version

1.7.2 / 1.8 / 1.9

OS and Version

Ubuntu Linux

Python Version

2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/AttachFileNotificationTwiceWikiName (last edited 2009-03-24 21:57:43 by ThomasWaldmann)