Bruce Momjian <pgman@candle.pha.pa.us> writes: > And then you have this case:
> /usr/local/../bin/../.. AFAICS, the patch I just proposed handles this. If I recall the code properly, we do not have to make canonicalize_path remove embedded "." or ".." --- that is, we do not have to simplify /usr/local/../bin But we do have to get rid of every trailing "." or "..", else there are failure cases when we replace the trailing component with an ordinary file name. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org