= Description = Closing bracket + dot in attachment filenames are not correctly accepted. This is only a minor problem but it is puzzling for unexperienced users. == Steps to reproduce / Example == Closing bracket + dot is not correctly accepted by the 1.5.x parser: {{{ * attachment:Testing).txt * attachment:Testing].txt * attachment:Testing}.txt * attachment:Testing).test.txt }}} But an opening bracet is Ok for the 1.5 parser: {{{ * attachment:Testing(.txt * attachment:Testing[.txt * attachment:Testing{.txt * attachment:Testing(.test.txt }}} For 1.6, this is solved by the new link syntax: * [[attachment:Testing).txt]] * [[attachment:Testing].txt]] * [[attachment:Testing}.txt]] * [[attachment:Testing).test.txt]] * [[attachment:Testing(.txt]] * [[attachment:Testing[.txt]] * [[attachment:Testing{.txt]] * [[attachment:Testing(.test.txt]] == Details == This Wiki. == Workaround == ## How to deal with the bug until it is fixed Use a different form of linking `[attachment:Testing).txt]` (which correctly gives [[attachment:Testing).txt]]) or put another character in between the closing bracket and the dot. = Discussion = In text_moin_wiki.py punct_pattern has `)]}` defined. If they are moved to punct_no_quote_pattern then this bug is fixed. But I have no idea why they were defined at text_moin_wiki_punct_pattern -- ReimarBauer <> If we change this, I guess just another sort of unwanted things will happen, e.g. if you write something like this: {{{ Here is the source (see attachment:source.py). }}} In 1.6, wiki markup uses a different syntax that does not have this problem. = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: 1.5.x has this bug (but won't get a fix, as it is fixed in 1.6 by new syntax). closing. ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBugFixed