Description
In normal links, the syntax /SubPage is a short-cut for SomePage/SubPage where SomePage is imlicitly assumed to be the current page.
In attachments, the syntax attachment:SomePage/SubPage/filename.ext works, but attachment:/SubPage/filename.ext does not. It referes to http://SubPage/filename.ext instead.
-- ZoranIsailovski 2008-01-12 12:15:43
Example
[[attachment:/SubPage/testfile.txt]] {{attachment:/SubPage/testfile.txt}}
renders as:
1 test
Component selection
- general
Details
MoinMoin Version |
1.6 on http://moinmo.in as of 2008-01-12 |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Do not use relative links in attachments.
Discussion
Well, that should work, but it did not work in 1.5.8 either, so it is least no regression.
Plan
- Priority:
Assigned to: ThomasWaldmann
Status: fixed by http://hg.moinmo.in/moin/1.6/rev/dd263b7b7b13