]> Cypherpunks.ru repositories - gostls13.git/commit
path/filepath: do not remove prefix "." when following path contains ":".
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Fri, 22 Apr 2022 01:07:51 +0000 (10:07 +0900)
committerGopher Robot <gobot@golang.org>
Tue, 24 May 2022 21:52:14 +0000 (21:52 +0000)
commit9cd1818a7d019c02fa4898b3e45a323e35033290
tree582a5c871a2371794f242fce0310a2ebd4f6aabb
parentb6bcd0d1352578033eea0490790b6af3bf300b3f
path/filepath: do not remove prefix "." when following path contains ":".

Fixes #52476

Change-Id: I9eb72ac7dbccd6322d060291f31831dc389eb9bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/401595
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/path/filepath/path.go
src/path/filepath/path_test.go
src/path/filepath/path_windows_test.go