go/src/path
Ian Lance Taylor 294edb272d path/filepath: don't discard .. in EvalSymlinks
EvalSymlinks was mishandling cases like "/x/../../y" or "../../../x"
where there is an extra ".." that goes past the start of the path.

Fixes #30520

Change-Id: I07525575f83009032fa1a99aa270c8d42007d276
Reviewed-on: https://go-review.googlesource.com/c/go/+/164762
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-05 01:01:11 +00:00
..
filepath path/filepath: don't discard .. in EvalSymlinks 2019-03-05 01:01:11 +00:00
example_test.go path: add example for Match 2018-02-13 18:45:33 +00:00
match.go path: remove filename mentions from pattern godocs 2018-02-14 10:17:44 +00:00
match_test.go path: present the correct error message in TestMatch 2018-07-29 19:18:48 +00:00
path.go all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
path_test.go path: fix up bizarre test 2016-03-16 03:59:03 +00:00