From: Russ Cox
Date: Fri, 24 Feb 2012 03:46:04 +0000 (-0500)
Subject: spec: allow disallow of \uFFFD in import path
X-Git-Tag: weekly.2012-03-04~173
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fad10f9c1cba2aef54ef3822d6c3688eb1c25483;p=gostls13.git
spec: allow disallow of \uFFFD in import path
Turns out U+FFFD is a graphic character too.
http://play.golang.org/p/YblCfKAfko
R=gri
CC=golang-dev
https://golang.org/cl/5699052
---
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 797e4038f0..abb1735e85 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -5101,8 +5101,9 @@ Implementation restriction: A compiler may restrict ImportPaths to
non-empty strings using only characters belonging to
Unicode's
L, M, N, P, and S general categories (the Graphic characters without
-spaces) and may also exclude the ASCII characters
-!"#$%&'()*,:;<=>?[\]^`{|}
.
+spaces) and may also exclude the characters
+!"#$%&'()*,:;<=>?[\]^`{|}
+and the Unicode replacement character U+FFFD.