JBoss CLI does not handle curly braces ('{' and '}') properly

Solution Verified - Updated -

Issue

  • When issuing commands to the JBoss CLI that have values that include curly braces, the CLI does not seem to parse them correctly. For example
/subsystem=web/virtual-server=default-host/rewrite=scontrol/condition=scontrol/:add(flags=NC,pattern=^(3880|3818)$,test=%{SERVER_PORT})

Notice the curly braces in the value of the attribute test. The value of test ends up being % rather than %{SERVER_PORT}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content