]> Cypherpunks repositories - gostls13.git/commit
archive/tar, archive/zip: revert documentation of ErrInsecurePath
authorDamien Neil <dneil@google.com>
Wed, 21 Dec 2022 17:50:48 +0000 (09:50 -0800)
committerDamien Neil <dneil@google.com>
Wed, 21 Dec 2022 18:56:55 +0000 (18:56 +0000)
commit2321abc5e9e3fab42384347a95209082fa53013a
tree08dcf851aaab2d170e6373b49d98ed1d7657fc95
parent458241f981e0a8e1d9e0b2f6ae53be62f00001d2
archive/tar, archive/zip: revert documentation of ErrInsecurePath

CL 452616 disables path security checks by default, enabling them
only when GODEBUG=tarinsecurepath=0 or GODEBUG=zipinsecurepath=0
is set. Remove now-obsolete documenation of the path checks.

For #55356

Change-Id: I4ae57534efe9e27368d5e67773a502dd0e56eff4
Reviewed-on: https://go-review.googlesource.com/c/go/+/458875
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
src/archive/tar/reader.go
src/archive/zip/reader.go