diff options
Diffstat (limited to 'src/ragel')
-rw-r--r-- | src/ragel/content_disposition.rl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ragel/content_disposition.rl b/src/ragel/content_disposition.rl index 614d54c68..abcd7796f 100644 --- a/src/ragel/content_disposition.rl +++ b/src/ragel/content_disposition.rl @@ -18,9 +18,9 @@ parameter = CFWS? attribute FWS? "=" FWS? value CFWS?; ietf_token = token+; - custom_x_token = 'x' "-" token+; + custom_x_token = /x/i "-" token+; extension_token = ietf_token | custom_x_token; - disposition_type = 'inline' %Disposition_Inline | 'attachment' %Disposition_Attachment + disposition_type = /inline/i %Disposition_Inline | /attachment/i %Disposition_Attachment | extension_token >Disposition_Start %Disposition_End; disposition_parm = parameter; content_disposition = disposition_type (";" disposition_parm)*; |