diff options
author | Andrea Leopardi <an.leopardi@gmail.com> | 2022-01-05 14:24:45 +0200 |
---|---|---|
committer | Andrea Leopardi <an.leopardi@gmail.com> | 2022-01-05 14:24:48 +0200 |
commit | f96bf5c6efdccebb6da193ee4bff17b079edf522 (patch) | |
tree | 3d478bbe8bc0cb9ad44827cb4c1f2696d2be6609 | |
parent | 62b7182d12b2b0df776e665841ae79ca2d9448f2 (diff) | |
download | elixir-andrea/add-path-safe-relative.tar.gz |
-rw-r--r-- | lib/elixir/lib/path.ex | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/elixir/lib/path.ex b/lib/elixir/lib/path.ex index 4053f75ae..52bad2d2b 100644 --- a/lib/elixir/lib/path.ex +++ b/lib/elixir/lib/path.ex @@ -724,7 +724,6 @@ defmodule Path do @doc """ Returns a relative path that is protected from directory-traversal attacks. - Returns `path` relative to `relative_to`, but protecting from directory traversal attacks. The given relative path is sanitized by eliminating `..` and `.` components. |