You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Mark Ford (JIRA)" <ji...@apache.org> on 2016/04/21 05:31:25 UTC
[jira] [Commented] (DIRMINA-1035) HttpServerDecoder not handling
colons in header values
[ https://issues.apache.org/jira/browse/DIRMINA-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251186#comment-15251186 ]
Mark Ford commented on DIRMINA-1035:
------------------------------------
The MINA project page says there's a checkbox to check to grant the ASF the rights to apply this patch. I don't see such a checkbox (apologies if I missed it). Hopefully this comment can serve as a grant.
> HttpServerDecoder not handling colons in header values
> ------------------------------------------------------
>
> Key: DIRMINA-1035
> URL: https://issues.apache.org/jira/browse/DIRMINA-1035
> Project: MINA
> Issue Type: Bug
> Components: Protocol - HTTP
> Affects Versions: 2.0.13
> Reporter: Mark Ford
> Attachments: DIRMINA-1035.patch
>
>
> The HttpServerDecoder is splitting the HTTP header name/value on a colon via a regular expression. The problem is that some HTTP headers from applications contain colons in their values. The correct behavior would be to split on the *first* colon and not every colon in the header name/value pair line.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)