Commit 64169efd authored by Johannes Schindelin's avatar Johannes Schindelin Committed by Richard P. Curnow

Allow Content-Disposition settings like filename*=''...

At least one version of Microsoft Entourage produces Content-Disposition
headers like this one:

-- snip --
Content-disposition: attachment;
 filename*=''Study%20Informati%8Ar%20Singers_B.doc
-- snap --

Let's cope with them, too.

Unfortunately, it seems that there is no way to convince the DFA to handle

-- snip --
Content-Disposition: attachment;
 filename*=Imaris%207.4%20-%20Release%20Notes%20-%20draft.pdf
-- snap --

too (produced by ColdFusion 8 Application Server). The problem is that we
cannot have a rule with two branches one of which wants to copy to 'value'
and one of which wants to copy to 'minor'.
Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 910d990d
......@@ -125,6 +125,7 @@ Block namevalue {
OWS ; <value:in->out> ; OWS -> out_continue
State rhs_charset
OWS ; ['] ; ['] ; <value:in->out> ; OWS -> out_charset
OWS ; <minor:in->out> ; ['] ; ['] ; <value:in->out> ; OWS -> out_charset
State rhs_charset_continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment