Closed mnot closed 3 years ago
Simon Yarde:
Seems quoted-str-nf in chunk-ext is now redundant?
-- > chunk-ext = ( ";" chunk-ext-name [ "=" chunk-ext-val ] ) -- > -- > chunk-ext-name = token -- > chunk-ext-val = token / quoted-str-nf -- > -- > quoted-str-nf = DQUOTE ( qdtext-nf / quoted-pair ) DQUOTE -- > ; like quoted-string, but disallowing line folding -- > qdtext-nf = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
-- > quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE -- > qdtext = HTAB / SP /%x21 / %x23-5B / %x5D-7E / obs-text -- > obs-text = %x80-FF
chunk-ext could be simplified to:
-- > chunk-ext = *( ";" chunk-ext-name [ "=" chunk-ext-val ] ) -- > -- > chunk-ext-name = token -- > chunk-ext-val = token / quoted-string
Reported by julian.reschke@gmx.de, migrated from https://trac.ietf.org/trac/httpbis/ticket/528
julian.reschke@gmx.de commented:
Indeed; quoted-string was changes not to allow line folding in 1966
From 2509: remove redundant quoted-str-nf production, folding has been disallowed in quoted-string since 1966 (see #528)
From 2509:
remove redundant quoted-str-nf production, folding has been disallowed in quoted-string since 1966 (see #528)
incorporated
new
closed
Simon Yarde:
Seems quoted-str-nf in chunk-ext is now redundant?
-- > chunk-ext = ( ";" chunk-ext-name [ "=" chunk-ext-val ] ) -- > -- > chunk-ext-name = token -- > chunk-ext-val = token / quoted-str-nf -- > -- > quoted-str-nf = DQUOTE ( qdtext-nf / quoted-pair ) DQUOTE -- > ; like quoted-string, but disallowing line folding -- > qdtext-nf = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
-- > quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE -- > qdtext = HTAB / SP /%x21 / %x23-5B / %x5D-7E / obs-text -- > obs-text = %x80-FF
chunk-ext could be simplified to:
-- > chunk-ext = *( ";" chunk-ext-name [ "=" chunk-ext-val ] ) -- > -- > chunk-ext-name = token -- > chunk-ext-val = token / quoted-string
Reported by julian.reschke@gmx.de, migrated from https://trac.ietf.org/trac/httpbis/ticket/528