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

Undertow allows to deploy duplicated URLs on Servlets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.Beta1, 1.4.7.Final
    • None
    • None
    • None

    Description

      A deployment with two Servlets, each one with the same mapping: "/test2". The deployment finishes correctly. When accessing the path, just one Servlet answers, without errors.

      A deployment with two Servlets, with the following paths:

      • /test1
      • test1

      The deployment succeeds, but a 500 error is shown when trying to access any page (not just /test1). See also WFLY-7658.

      Servlet Spec 3.1 says in point 12.2:

      If the effective web.xml (after merging information from fragments and annotations) contains any url-patterns that are mapped to multiple servlets then the deployment must fail.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            ggam_jira Guillermo González de Agüero (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: