diff options
author | Anthony Martin <ality@pbrane.org> | 2010-12-14 12:26:30 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-12-14 12:26:30 -0500 |
commit | d7340d9c2029cab7c61860542989aea52945526e (patch) | |
tree | 0aea894fed08a91100dc546b27bf3cffb6791a80 | |
parent | add32466bfc36ebac93cc527c90fc3a61dbac22e (diff) | |
download | go-d7340d9c2029cab7c61860542989aea52945526e.tar.gz go-d7340d9c2029cab7c61860542989aea52945526e.zip |
http: include DEL in the test for unprintable chars
R=adg, rsc
CC=golang-dev
https://golang.org/cl/3631041
-rw-r--r-- | src/pkg/http/fs.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 < ' ' { |