[dokuwiki] Re: filelist plugin
- From: Gina Häußge <gina@xxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 21 Jan 2008 18:13:17 +0100
Hello Eugen,
I'm the author of this plugin.
Eugen Stoianovici wrote:
> a {{filelist>/path/to/my/file.txt}} should include the file
> /path/to/my/file.txt relative to my system, right? Well, there's nothing
> displayed in my page:(
More correctly, it should include a _link_ to the file. That nothing is
displayed hints at some error during evaluation of your path[1]. I'm
currently on the bughunt in this plugin[2], as it has some issues with
symlinks in the filesystem as well, so this might be the reason for the
problems you are encountering. If /path/to/your/file is not inside the
dokuwiki directory (DOKU_INC), that might also be the reason, as the
plugin does not allow access to files outside of the "Dokuwiki Jail"[3].
Kind regards,
Gina 'foosel' Haeussge
[1] Simply displaying nothing in such a case sounded like a good idea at
the time of writing. I'll change that in the future, as it makes
debugging a bitch.
[2] Although it takes quite some time, as my day job didn't leave me
much time for private coding sessions the last two months.
[3] I wouldn't like the idea of some anonymous guest inserting a
{{filelist>/etc/*&style=table&direct=1}} on some publicly writable page
and thus hinting at what software is running on the webserver...
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: filelist plugin
- From: Eugen Stoianovici
- References:
- [dokuwiki] filelist plugin
- From: Eugen Stoianovici
Other related posts:
- » [dokuwiki] filelist plugin
- » [dokuwiki] Re: filelist plugin
- » [dokuwiki] Re: filelist plugin
- » [dokuwiki] Re: filelist plugin
- » [dokuwiki] Re: filelist plugin
- [dokuwiki] Re: filelist plugin
- From: Eugen Stoianovici
- [dokuwiki] filelist plugin
- From: Eugen Stoianovici