Skip to content

Commit

Permalink
better description for canonicalize
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 2, 2015
1 parent ef2f651 commit d6af83d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Path.pm
Expand Up @@ -169,8 +169,8 @@ following new ones.
$path = $path->canonicalize;
Canonicalize path, parts comprised solely of three or more dots are treated as
a single dot, to protect certain operating systems from path traversal
Canonicalize path by resolving C<.> and C<..>, parts comprised solely of three
or more dots are treated as a single dot to protect from path traversal
attacks.
# "/foo/baz"
Expand Down

0 comments on commit d6af83d

Please sign in to comment.