On Sun, Apr 16, 2017 at 12:21 PM, Petko Yotov <[email protected]> wrote:

> I don't use Windows but I wonder why a path like "wiki.d/D:\path\file.txt"
> is considered external to wiki.d or even possible.


Probably this has already been communicated and I just missed it, but just
to be clear...

"wiki.d/D:\domains\web-pack-001.package\httpdocs\mydomain.co.uk\1.local.farmmap.txt"
is not a legitimate windows path as far as I understand. There's a
mis-configuration somewhere where an absolute path (i.e., starting with
"D:\") was specified when a relative path (under wiki.d or some other
pagestore) was needed.

If that path ever gets passed to Pagestore::exists() then I would think
that it's not bad to have an error message appear. In my mind it's the
moral equivalent of a syntax error but from a configuration perspective. So
suppressing the error message with @ may or may not be a good idea... It's
true that from a pmwiki perspective it's legitimate, but it may make life
harder for the person trying to track down the configuration problem.

-Peter
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to