[
https://issues.apache.org/jira/browse/DIRMINA-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Paliwal updated DIRMINA-956:
-----------------------------------
Affects Version/s: 2.0.7
> Status code match bug in AbstractHttpLogicHandler
> --------------------------------------------------
>
> Key: DIRMINA-956
> URL: https://issues.apache.org/jira/browse/DIRMINA-956
> Project: MINA
> Issue Type: Bug
> Affects Versions: 2.0.7
> Reporter: Kim
>
> I found following code in AbstractHttpLogicHandler:
> protected HttpProxyResponse decodeResponse(final String response) throws
> Exception {
> ...
> // Status code is 3 digits
> if (statusLine[1].matches("^\\d\\d\\d")) {
> throw new Exception("Invalid response code (" + statusLine[1] +
> "). Response: " + response);
> }
> ...
> }
> Is there "statusLine[1].matches("^\\d\\d\\d")" should be
> "!statusLine[1].matches("^\\d\\d\\d")"?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira