[pmwiki-users] problem with uploads changing file names

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 21 10:24:12 CST 2006

On Tue, Mar 21, 2006 at 12:57:35AM -0500, Neil Herber wrote:
> I am uploading files with names like this:
> 07_Our Business Processes - Lepingwell, ABCD.pdf
> which is: paper number, underscore, paper title, dash, Author(s), 
> comma, organization, dot PDF
> PmWiki is renaming the files when uploading them - dropping the 
> commas. This is particularly bothersome when there are 2 or more 
> comma-separated Authors.

For security reasons, PmWiki restricts the characters that may appear
in upload filenames to (default) alphanumerics, hyphen, underscore,
dot, and space.

If you want to allow commas, set:

    $UploadNameChars = "-\\w. ,";


More information about the pmwiki-users mailing list