[pmwiki-users] Extending file name characters and uploading/downloading - help wanted to make it work

Simon nzskiwi at gmail.com
Sun Aug 17 00:17:46 CDT 2008


In config.php I have the lines

## Change the set of characters allowed in upload names.
  $UploadNameChars = "-\w. !=+#"; # allow exclamations, equals, plus, and
hash in file name

(from http://pmwiki.org/wiki/PmWiki/UploadVariables#UploadNameChars)

On page http://ttc.org.nz/pmwiki/pmwiki.php/TararuaTramper/Archive
I have the code
[[Attach:tramper v76#07 2004-08.pdf | pdf]]

In pmwikiuploads/TararuaTramper/Archive/ is the file tramper v76#07
2004-08.pdf (put here by ftp)

It looks to me like the UpLoadNameChars have not, in fact, been changed to
allow the hash (#) character (the one I am interested in).

When I try to retrieve the file I get the message
PmWiki can't process your request

?requested file not found

(
http://ttc.org.nz/pmwiki/pmwiki.php/TararuaTramper/Archive?action=download&upname=tramper%20v76#06%202004-07.pdf
)
Where the file has not been uploaded the link is not correct either.

Can anyone suggest what I need to do to fix this?

thanks

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080817/1c3319a1/attachment.html 


More information about the pmwiki-users mailing list