[jboss-jira] [JBoss JIRA] (WFCORE-4570) PathAddress.toCLIStyleString() can output badly formatted values

Kabir Khan (Jira) issues at jboss.org
Thu Jul 18 12:20:05 EDT 2019


     [ https://issues.jboss.org/browse/WFCORE-4570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan updated WFCORE-4570:
-------------------------------
    Summary: PathAddress.toCLIStyleString() can output badly formatted values  (was: PathAddress.toCLIStyleString() should quote the values)


> PathAddress.toCLIStyleString() can output badly formatted values
> ----------------------------------------------------------------
>
>                 Key: WFCORE-4570
>                 URL: https://issues.jboss.org/browse/WFCORE-4570
>             Project: WildFly Core
>          Issue Type: Bug
>            Reporter: Kabir Khan
>            Assignee: Jeff Mesnil
>            Priority: Major
>
> Trying PathAddress.toCLIStyleString() on the output operations from https://github.com/keycloak/keycloak/blob/master/adapters/oidc/wildfly/wildfly-subsystem/src/test/resources/org/keycloak/subsystem/adapter/extension/keycloak-1.1.xml I end up with addresses with strange characters like
> {code}
> /subsystem=keycloak/secure-deployment=web-console/redirect-rewrite-rule=^/wsmaster/api/(.*)$
> {code}
> If I try to add a system property with the same name in CLI I get an error, e.g.:
> {code}
> [standalone at embedded /] /system-property=^/wsmaster/api/(.*)$:add(value=xyx)
> Node path format is wrong around 'wsmaster' (index=19).
> {code}
> It seems that these need to be quoted and it all works
> {code}
> [standalone at embedded /] /system-property="^/wsmaster/api/(.*)$":add(value=xyx)
> {"outcome" => "success"}
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list