| От | Tom Lane |
|---|---|
| Тема | Re: Bug in canonicalize_path() |
| Дата | |
| Msg-id | 22286.1123816448@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug in canonicalize_path() (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Bug in canonicalize_path()
|
| Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> But what about "usr/local/../../.."?
What about it? The case of /usr/local/../../.. is handled correctly,
and the case where it's an underspecified relative path doesn't seem
that interesting to me --- certainly that is not so important that we
should get the wrong answer on cases that *are* plausible.
Most of the uses of canonicalize_path are on paths that are required to
be absolute, anyway.
It wouldn't be too implausible to error out if pending_strips>0 after
exiting the loop.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера