- From: Mark Nottingham <mnot@mnot.net>
- Date: Tue, 5 Jun 2018 14:06:38 +0200
- To: Ilari Liusvaara <ilariliusvaara@welho.com>
- Cc: HTTP Working Group <ietf-http-wg@w3.org>
Markdown escaping; will fix. Thanks! > On 5 Jun 2018, at 2:02 pm, Ilari Liusvaara <ilariliusvaara@welho.com> wrote: > > On Tue, Jun 05, 2018 at 12:22:25PM +0200, Mark Nottingham wrote: >> FYI - this revision adds serialisation algorithms for the structures, >> and rearranges things to more clearly separate the abstract data model, >> parsing and serialisation. > >>> Filename : draft-ietf-httpbis-header-structure-06.txt > > Spotted in quick readthrough of the diff: > > > 4.1.7. Serialising a String > Given a string as input: > 1. If input is not a sequence of characters, or contains characters > outside the range allowed by the ABNF defined in Section 3.7, > fail serialisation. > 2. Let output be an empty string. > 3. Append DQUOTE to output. > 4. For each character char in input: > 1. If char is "" or DQUOTE: > 1. Append "" to output. > 2. Append char to output, using ASCII encoding [RFC0020]. > 5. Append DQUOTE to output. > 6. Return output. > > > The steps 4.1 and 4.1.1 look off... I am guessing those should have "\" > instead of "". > > > -Ilari -- Mark Nottingham https://www.mnot.net/
Received on Tuesday, 5 June 2018 12:07:08 UTC