[Pmwiki-users] New version no upload directives available for testing here
Christian Ridderström
chr
Thu Jan 29 15:19:48 CST 2004
Hi
I've been working on a modified upload.php, where the following directives
have been modified or added:
Attach:... Now supports subdirectories and relative paths.
[[$Attachlist]] Now also lists contents of subdirectories.
[[Attachlist:]] New directive that lists contents of a specified
directory, e.g. [[Attachlist:subDir/]]
It's available here for testing etc:
http://www.lyx.org/~chr/demo/pmwiki.php?pagename=Upload.Upload
AFAIK, the only problem right now is that 'security' can be bypassed, e.g.
it's possible to list the files in another directory and there's no check
if this is allowed.
Patrick, I can put this up as a cookbook extension, or you can have a
look at it and see if it should go into 0.6.
/Christian
PS. The new directives now also allow non-english characters in the
filenames and directories.
--
http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list