We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6effc19 commit d95886eCopy full SHA for d95886e
src/port/path.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/port/path.c,v 1.53 2005/08/12 02:48:37 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/path.c,v 1.54 2005/08/12 03:07:45 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -289,7 +289,7 @@ canonicalize_path(char *path)
289
* not preceed it.
290
* So, we only deal with "/usr/local/..", not with "/usr/local/../..".
291
* We don't handle the even more complex cases, like
292
- * "usr/local/../../.." and "usr/local/../bin/../..".
+ * "usr/local/../../..".
293
294
else if (len > 3 && strcmp(path + len - 3, "/..") == 0 &&
295
(len != 5 || strcmp(path, "../..") != 0) &&
0 commit comments