Kim created DIRMINA-956:
---------------------------
Summary: Status code match bug in AbstractHttpLogicHandler
Key: DIRMINA-956
URL: https://issues.apache.org/jira/browse/DIRMINA-956
Project: MINA
Issue Type: Bug
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