Skip to content

Commit aec68c3

Browse files
Remove single-quote as allowed type URL character from text-format spec.
Revise the recent addition to the spec to allow more characters in type URLs. It has turned out to complicated to support single-quotes since the single-quote in text protos is reserved for string literals. PiperOrigin-RevId: 842695507
1 parent 0afb2b8 commit aec68c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/reference/protobuf/textformat-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ A limited set of URL characters following
103103

104104
```
105105
url_unreserved = letter | dec | "-" | "." | "~" | "_"
106-
url_sub_delim = "!" | "$" | "&" | "'" | "(" | ")"
106+
url_sub_delim = "!" | "$" | "&" | "(" | ")"
107107
| "*" | "+" | "," | ";" | "="
108108
url_pct_encoded = "%" hex hex
109109
url_char = url_unreserved | url_sub_delim | url_pct_encoded

0 commit comments

Comments
 (0)