CLI script with if/else is not handling special characters strings with parenthesis in JBoss EAP 6
Issue
When using CLI if-else scripting that uses a string that contains parenthesis it fails with the following message:
Failed to handle 'if (outcome == success && result.value != "a64180c0)e7187af86b435229de904104") of /system-property=test:read-resource': Unexpected operation at 49 in '(outcome == success && result.value != "a64180c0)e7187af86b435229de904104")'
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.4.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
