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:

/SubPage/testfile.txt

   1 test
/SubPage/testfile.txt

Component selection

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


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/AttachmentsLinkSyntaxBug (last edited 2008-01-12 17:18:08 by ThomasWaldmann)