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
- 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
- Priority:
- Assigned to:
- Status: fixed in 1.7, 1.8 and 1.9