Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1464

Matrix parameters are not properly handled

XMLWordPrintable

    I created an issue on the Spring Boot project. https://github.com/spring-projects/spring-boot/issues/15452

    From the analysis of the Spring Boot team, it seems the issue is from Undertow.

    To summarize the issue, the path information is wrong when using matrix parameter at any position on the path, except at the end. It works fine with Tomcat.

    with Tomcat
    http://localhost:8080/v1/a;matrix=matrix/plus/b/equal => 200
    http://localhost:8080/v1/a/plus/b;matrix=matrix/equal => 200
    http://localhost:8080/v2/a/plus/b;matrix=matrix => 200
    http://localhost:8080/v2/a;matrix=matrix/plus/b => 200

    with Undertow
    http://localhost:8080/v1/a;matrix=matrix/plus/b/equal => 404
    http://localhost:8080/v1/a/plus/b;matrix=matrix/equal => 404
    http://localhost:8080/v2/a/plus/b;matrix=matrix => 200
    http://localhost:8080/v2/a;matrix=matrix/plus/b => 404

          flaviarnn Flavia Rainone
          sydney.henrard Sydney Henrard (Inactive)
          Votes:
          1 Vote for this issue
          Watchers:
          8 Start watching this issue

            Created:
            Updated:
            Resolved: