Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-697

CLI does not handle paths with a value of '/'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.CR5, 2.0.0.Alpha3
    • 2.0.0.Alpha2
    • CLI
    • None

    Description

      It does not appear to be possible to address nodes with a name of '/' in the CLI. This is used in the default undertow subsystem to serve the welcome content.

      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=default-host/location=*:read-resource
      {
          "outcome" => "success",
          "result" => [{
              "address" => [
                  ("subsystem" => "undertow"),
                  ("server" => "default-server"),
                  ("host" => "default-host"),
                  ("location" => "/")
              ],
              "outcome" => "success",
              "result" => {
                  "handler" => "welcome-content",
                  "filter-ref" => undefined
              }
          }]
      }
      
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=default-host/location=\/:read-resource
      Node type is not complete at index 71
      

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            sdouglas1@redhat.com Stuart Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: