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

David Lloyd (JIRA) issues at jboss.org
Tue May 19 07:20:19 EDT 2015


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

David Lloyd commented on WFCORE-697:
------------------------------------

Hmm this raises an interesting question: do we have a well-defined acceptable syntax for address value segments?  And does it map properly to all possible file names?  We might need some kind of encoding scheme or something...

> 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