[jboss-jira] [JBoss JIRA] (WFCORE-697) CDI does not handle paths with a value of '/'

Alexey Loubyansky (JIRA) issues at jboss.org
Tue May 19 07:26:19 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069151#comment-13069151 ] 

Alexey Loubyansky commented on WFCORE-697:
------------------------------------------

There is a type name validation in place (alphanumeric), resource names are not validated (they used to be, the old pattern is commented out, because we probably didn't come up with the rule).

> CDI does not handle paths with a value of '/'
> ---------------------------------------------
>
>                 Key: WFCORE-697
>                 URL: https://issues.jboss.org/browse/WFCORE-697
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.0.0.Alpha2
>            Reporter: Stuart Douglas
>            Assignee: Alexey Loubyansky
>
> 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.
> {code}
> [standalone at 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 at localhost:9990 /] /subsystem=undertow/server=default-server/host=default-host/location=\/:read-resource
> Node type is not complete at index 71
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list