You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/05/29 13:14:00 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=16850829#comment-16850829 ]
Emmanuel Lecharny commented on DIRMINA-1035:
--------------------------------------------
I totally missed this issue. We need to apply the patch in the next release.
> 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
> Assignee: Jonathan Valliere
> Priority: Major
> Fix For: 2.0.23, 2.1.4
>
> 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
(v7.6.3#76005)