Commit d7340d9c authored by Anthony Martin's avatar Anthony Martin Committed by Russ Cox

http: include DEL in the test for unprintable chars

R=adg, rsc
CC=golang-dev
https://golang.org/cl/3631041
parent add32466
......@@ -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 < ' ' {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment