mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Chris Ridd
09.19.2013 afdb4ed6eaae4e7bcd7caf45a5a90ce2031a02d5
Fix OPENDJ-859 Malformed DSML searches return illegal "Unknown error" errorResponse
1 files modified
4 ■■■ changed files
opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java 4 ●●● patch | view | raw | blame | history
opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
@@ -127,8 +127,6 @@
  private static final String GATEWAY_INTERNAL_ERROR = "gatewayInternalError";
  private static final String UNRESOLVABLE_URI = "unresolvableURI";
  private static final String UNKNOWN_ERROR = "Unknown error";
  // definitions of onError values
  private static final String ON_ERROR_RESUME = "resume";
  private static final String ON_ERROR_EXIT = "exit";
@@ -649,7 +647,7 @@
          break;
        default:
          errorResponse.setType(UNKNOWN_ERROR);
          errorResponse.setType(MALFORMED_REQUEST);
          break;
      }
    } else if ( t instanceof LDAPConnectionException ) {