From d7340d9c2029cab7c61860542989aea52945526e Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Tue, 14 Dec 2010 12:26:30 -0500 Subject: [PATCH] http: include DEL in the test for unprintable chars R=adg, rsc CC=golang-dev https://golang.org/cl/3631041 --- src/pkg/http/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/http/fs.go b/src/pkg/http/fs.go index 72db946dff..143a839a80 100644 --- a/src/pkg/http/fs.go +++ b/src/pkg/http/fs.go @@ -27,7 +27,7 @@ func isText(b []byte) bool { // decoding error return false } - if 0x80 <= rune && rune <= 0x9F { + if 0x7F <= rune && rune <= 0x9F { return false } if rune < ' ' {