Language: Java
Label: safe
CWE: NVD-CWE-noinfo \u2014 

Code:
    void wrongMatrixVariables() throws Exception {
        final WebClient client = WebClient.of("http://127.0.0.1:" + port);
        AggregatedHttpResponse response = client.blocking().get(
                TOMCAT_BASE_PATH + ";/owners/42;q=11/pets/21;q=22");
        assertThat(response.status()).isSameAs(HttpStatus.BAD_REQUEST);

        response = client.blocking().get("/tomcat;wrong=place/api/rest/v1/owners/42;q=11/pets/21;q=22");
        assertThat(response.status()).isSameAs(HttpStatus.BAD_REQUEST);
    }