[jboss-jira] [JBoss JIRA] (WFCORE-4570) PathAddress.toCLIStyleString() should quote the values

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


Kabir Khan created WFCORE-4570:
----------------------------------

             Summary: PathAddress.toCLIStyleString() should quote the values
                 Key: WFCORE-4570
                 URL: https://issues.jboss.org/browse/WFCORE-4570
             Project: WildFly Core
          Issue Type: Bug
            Reporter: Kabir Khan
            Assignee: Jeff Mesnil


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