[pmwiki-users] parenthesis in uploaded filename

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Wed Jan 3 16:30:59 CST 2007


On Wed, 3 Jan 2007, Patrick R. Michaud wrote:

> On Wed, Jan 03, 2007 at 07:45:49AM -0800, Nicholas Buttle wrote:
>> is it possible to upload a file with the name
>>
>> abc (1) test.xyz
>>
>> I've managed to get round the spaces problem by using
>> [[ ]] but now the parenthesis are causing problems.
>>
>> Any ideas?
>
> Use %28 and %29 for the parentheses.
>
> The issue is that PmWiki uses parentheses for a different purpose -- 
> namely, to suppress parts of link text, on the theory that parentheses 
> aren't common in urls.  Unfortunately, they're becoming more common, and 
> they also tend to show up in attachment filenames, as you've discovered.

Maybe we should allow for something like this as a customization

 	[[link text {hidden part}]]

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list