Graham Dumpleton (JIRA) wrote:

The actual function in Apache which can be used to normalise paths and which 
outputs the POSIX style path required is apr_filepath_merge(). The question is, 
should this be exposed in some way so that it is useable from mod_python, or 
for the req.filename case, should assignment to req.filename automatically 
trigger normalisation of the path to ensure that it simply just works all the 
time and isn't dependent on a user of mod_python realising they need to 
normalise it first in the POSIX style to ensure their code is portable across 
platforms.


There are really 2 independent questions here:
1. Should assignment to req.filename automatically trigger path normalisation?

  +1

2. Is there a use case for exposing apr_filepath_merge()? I can't think of one, but is this function useful to Windows folks?

  +0

Jim

Reply via email to