commit 9716716527fc5e8047b57f14870afbb3c864a197 Author: Nick Mathewson nickm@torproject.org Date: Fri Nov 23 11:56:09 2012 -0500
Clarify QuotedString and what needs to get escaped in it --- control-spec.txt | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/control-spec.txt b/control-spec.txt index febe9e9..50ffc9e 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -97,10 +97,12 @@
We define the following general-use nonterminals:
- String = DQUOTE *qcontent DQUOTE + QuotedString = DQUOTE *qcontent DQUOTE
- There are explicitly no limits on line length. All 8-bit characters are - permitted unless explicitly disallowed. + There are explicitly no limits on line length. All 8-bit characters + are permitted unless explicitly disallowed. In QuotedStrings, + backslashes and quotes must be escaped; other characters need not be + escaped.
Wherever CRLF is specified to be accepted from the controller, Tor MAY also accept LF. Tor, however, MUST NOT generate LF instead of CRLF.
tor-commits@lists.torproject.org