{"action":"created","comment":{"url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/comments/36384567","id":36384567,"diff_hunk":"@@ -138,6 +138,12 @@ protected Operand parseOperand() throws CommandLineException {\n                     } else {\n                         --depthCount;\n                     }\n+                } else if (input.charAt(endIndex) == '\"') { // traverse over string operands\n+                    endIndex = input.indexOf('\"', endIndex + 1);","path":"cli/src/main/java/org/jboss/as/cli/handlers/ifelse/ExpressionParser.java","position":5,"original_position":5,"commit_id":"e362ab0bd1bb4e16b6c71a44c960453ac0bc8745","original_commit_id":"e362ab0bd1bb4e16b6c71a44c960453ac0bc8745","user":{"login":"TomasHofman","id":353221,"avatar_url":"https://avatars.githubusercontent.com/u/353221?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasHofman","html_url":"https://github.com/TomasHofman","followers_url":"https://api.github.com/users/TomasHofman/followers","following_url":"https://api.github.com/users/TomasHofman/following{/other_user}","gists_url":"https://api.github.com/users/TomasHofman/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasHofman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasHofman/subscriptions","organizations_url":"https://api.github.com/users/TomasHofman/orgs","repos_url":"https://api.github.com/users/TomasHofman/repos","events_url":"https://api.github.com/users/TomasHofman/events{/privacy}","received_events_url":"https://api.github.com/users/TomasHofman/received_events","type":"User","site_admin":false},"body":"True, I will fix that.","created_at":"2015-08-06T06:30:14Z","updated_at":"2015-08-06T06:30:14Z","html_url":"https://github.com/wildfly/wildfly-core/pull/938#discussion_r36384567","pull_request_url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938","_links":{"self":{"href":"https://api.github.com/repos/wildfly/wildfly-core/pulls/comments/36384567"},"html":{"href":"https://github.com/wildfly/wildfly-core/pull/938#discussion_r36384567"},"pull_request":{"href":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938"}}},"pull_request":{"url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938","id":41653967,"html_url":"https://github.com/wildfly/wildfly-core/pull/938","diff_url":"https://github.com/wildfly/wildfly-core/pull/938.diff","patch_url":"https://github.com/wildfly/wildfly-core/pull/938.patch","issue_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/938","number":938,"state":"open","locked":false,"title":"[WFCORE-868] CLI if/else is not handling special characters strings w…","user":{"login":"TomasHofman","id":353221,"avatar_url":"https://avatars.githubusercontent.com/u/353221?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasHofman","html_url":"https://github.com/TomasHofman","followers_url":"https://api.github.com/users/TomasHofman/followers","following_url":"https://api.github.com/users/TomasHofman/following{/other_user}","gists_url":"https://api.github.com/users/TomasHofman/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasHofman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasHofman/subscriptions","organizations_url":"https://api.github.com/users/TomasHofman/orgs","repos_url":"https://api.github.com/users/TomasHofman/repos","events_url":"https://api.github.com/users/TomasHofman/events{/privacy}","received_events_url":"https://api.github.com/users/TomasHofman/received_events","type":"User","site_admin":false},"body":"…ith parenthesis\r\n\r\nhttps://issues.jboss.org/browse/WFCORE-868\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1249773","created_at":"2015-08-05T08:21:40Z","updated_at":"2015-08-06T06:30:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a691fa65a4eba905e7fdcb3ab8ddb5cd9ba352f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938/commits","review_comments_url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938/comments","review_comment_url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/938/comments","statuses_url":"https://api.github.com/repos/wildfly/wildfly-core/statuses/e362ab0bd1bb4e16b6c71a44c960453ac0bc8745","head":{"label":"TomasHofman:WFCORE-868","ref":"WFCORE-868","sha":"e362ab0bd1bb4e16b6c71a44c960453ac0bc8745","user":{"login":"TomasHofman","id":353221,"avatar_url":"https://avatars.githubusercontent.com/u/353221?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasHofman","html_url":"https://github.com/TomasHofman","followers_url":"https://api.github.com/users/TomasHofman/followers","following_url":"https://api.github.com/users/TomasHofman/following{/other_user}","gists_url":"https://api.github.com/users/TomasHofman/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasHofman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasHofman/subscriptions","organizations_url":"https://api.github.com/users/TomasHofman/orgs","repos_url":"https://api.github.com/users/TomasHofman/repos","events_url":"https://api.github.com/users/TomasHofman/events{/privacy}","received_events_url":"https://api.github.com/users/TomasHofman/received_events","type":"User","site_admin":false},"repo":{"id":26491729,"name":"wildfly-core","full_name":"TomasHofman/wildfly-core","owner":{"login":"TomasHofman","id":353221,"avatar_url":"https://avatars.githubusercontent.com/u/353221?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasHofman","html_url":"https://github.com/TomasHofman","followers_url":"https://api.github.com/users/TomasHofman/followers","following_url":"https://api.github.com/users/TomasHofman/following{/other_user}","gists_url":"https://api.github.com/users/TomasHofman/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasHofman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasHofman/subscriptions","organizations_url":"https://api.github.com/users/TomasHofman/orgs","repos_url":"https://api.github.com/users/TomasHofman/repos","events_url":"https://api.github.com/users/TomasHofman/events{/privacy}","received_events_url":"https://api.github.com/users/TomasHofman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TomasHofman/wildfly-core","description":"The core runtime that is used by the Wildfly application server","fork":true,"url":"https://api.github.com/repos/TomasHofman/wildfly-core","forks_url":"https://api.github.com/repos/TomasHofman/wildfly-core/forks","keys_url":"https://api.github.com/repos/TomasHofman/wildfly-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TomasHofman/wildfly-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TomasHofman/wildfly-core/teams","hooks_url":"https://api.github.com/repos/TomasHofman/wildfly-core/hooks","issue_events_url":"https://api.github.com/repos/TomasHofman/wildfly-core/issues/events{/number}","events_url":"https://api.github.com/repos/TomasHofman/wildfly-core/events","assignees_url":"https://api.github.com/repos/TomasHofman/wildfly-core/assignees{/user}","branches_url":"https://api.github.com/repos/TomasHofman/wildfly-core/branches{/branch}","tags_url":"https://api.github.com/repos/TomasHofman/wildfly-core/tags","blobs_url":"https://api.github.com/repos/TomasHofman/wildfly-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TomasHofman/wildfly-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TomasHofman/wildfly-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/TomasHofman/wildfly-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TomasHofman/wildfly-core/statuses/{sha}","languages_url":"https://api.github.com/repos/TomasHofman/wildfly-core/languages","stargazers_url":"https://api.github.com/repos/TomasHofman/wildfly-core/stargazers","contributors_url":"https://api.github.com/repos/TomasHofman/wildfly-core/contributors","subscribers_url":"https://api.github.com/repos/TomasHofman/wildfly-core/subscribers","subscription_url":"https://api.github.com/repos/TomasHofman/wildfly-core/subscription","commits_url":"https://api.github.com/repos/TomasHofman/wildfly-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/TomasHofman/wildfly-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/TomasHofman/wildfly-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/TomasHofman/wildfly-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/TomasHofman/wildfly-core/contents/{+path}","compare_url":"https://api.github.com/repos/TomasHofman/wildfly-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TomasHofman/wildfly-core/merges","archive_url":"https://api.github.com/repos/TomasHofman/wildfly-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TomasHofman/wildfly-core/downloads","issues_url":"https://api.github.com/repos/TomasHofman/wildfly-core/issues{/number}","pulls_url":"https://api.github.com/repos/TomasHofman/wildfly-core/pulls{/number}","milestones_url":"https://api.github.com/repos/TomasHofman/wildfly-core/milestones{/number}","notifications_url":"https://api.github.com/repos/TomasHofman/wildfly-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TomasHofman/wildfly-core/labels{/name}","releases_url":"https://api.github.com/repos/TomasHofman/wildfly-core/releases{/id}","created_at":"2014-11-11T15:47:39Z","updated_at":"2015-03-12T10:35:44Z","pushed_at":"2015-08-05T08:18:10Z","git_url":"git://github.com/TomasHofman/wildfly-core.git","ssh_url":"git@github.com:TomasHofman/wildfly-core.git","clone_url":"https://github.com/TomasHofman/wildfly-core.git","svn_url":"https://github.com/TomasHofman/wildfly-core","homepage":null,"size":39775,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wildfly:master","ref":"master","sha":"e0f01ea8a139fd0978e97b3fbbe81dd72f40e4b1","user":{"login":"wildfly","id":3066274,"avatar_url":"https://avatars.githubusercontent.com/u/3066274?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly","html_url":"https://github.com/wildfly","followers_url":"https://api.github.com/users/wildfly/followers","following_url":"https://api.github.com/users/wildfly/following{/other_user}","gists_url":"https://api.github.com/users/wildfly/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly/subscriptions","organizations_url":"https://api.github.com/users/wildfly/orgs","repos_url":"https://api.github.com/users/wildfly/repos","events_url":"https://api.github.com/users/wildfly/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly/received_events","type":"Organization","site_admin":false},"repo":{"id":21394954,"name":"wildfly-core","full_name":"wildfly/wildfly-core","owner":{"login":"wildfly","id":3066274,"avatar_url":"https://avatars.githubusercontent.com/u/3066274?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly","html_url":"https://github.com/wildfly","followers_url":"https://api.github.com/users/wildfly/followers","following_url":"https://api.github.com/users/wildfly/following{/other_user}","gists_url":"https://api.github.com/users/wildfly/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly/subscriptions","organizations_url":"https://api.github.com/users/wildfly/orgs","repos_url":"https://api.github.com/users/wildfly/repos","events_url":"https://api.github.com/users/wildfly/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wildfly/wildfly-core","description":"The core runtime that is used by the Wildfly application server","fork":false,"url":"https://api.github.com/repos/wildfly/wildfly-core","forks_url":"https://api.github.com/repos/wildfly/wildfly-core/forks","keys_url":"https://api.github.com/repos/wildfly/wildfly-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wildfly/wildfly-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wildfly/wildfly-core/teams","hooks_url":"https://api.github.com/repos/wildfly/wildfly-core/hooks","issue_events_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/events{/number}","events_url":"https://api.github.com/repos/wildfly/wildfly-core/events","assignees_url":"https://api.github.com/repos/wildfly/wildfly-core/assignees{/user}","branches_url":"https://api.github.com/repos/wildfly/wildfly-core/branches{/branch}","tags_url":"https://api.github.com/repos/wildfly/wildfly-core/tags","blobs_url":"https://api.github.com/repos/wildfly/wildfly-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wildfly/wildfly-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wildfly/wildfly-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/wildfly/wildfly-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wildfly/wildfly-core/statuses/{sha}","languages_url":"https://api.github.com/repos/wildfly/wildfly-core/languages","stargazers_url":"https://api.github.com/repos/wildfly/wildfly-core/stargazers","contributors_url":"https://api.github.com/repos/wildfly/wildfly-core/contributors","subscribers_url":"https://api.github.com/repos/wildfly/wildfly-core/subscribers","subscription_url":"https://api.github.com/repos/wildfly/wildfly-core/subscription","commits_url":"https://api.github.com/repos/wildfly/wildfly-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/wildfly/wildfly-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/wildfly/wildfly-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/wildfly/wildfly-core/contents/{+path}","compare_url":"https://api.github.com/repos/wildfly/wildfly-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wildfly/wildfly-core/merges","archive_url":"https://api.github.com/repos/wildfly/wildfly-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wildfly/wildfly-core/downloads","issues_url":"https://api.github.com/repos/wildfly/wildfly-core/issues{/number}","pulls_url":"https://api.github.com/repos/wildfly/wildfly-core/pulls{/number}","milestones_url":"https://api.github.com/repos/wildfly/wildfly-core/milestones{/number}","notifications_url":"https://api.github.com/repos/wildfly/wildfly-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wildfly/wildfly-core/labels{/name}","releases_url":"https://api.github.com/repos/wildfly/wildfly-core/releases{/id}","created_at":"2014-07-01T16:33:34Z","updated_at":"2015-07-26T14:40:02Z","pushed_at":"2015-08-06T06:25:28Z","git_url":"git://github.com/wildfly/wildfly-core.git","ssh_url":"git@github.com:wildfly/wildfly-core.git","clone_url":"https://github.com/wildfly/wildfly-core.git","svn_url":"https://github.com/wildfly/wildfly-core","homepage":null,"size":49016,"stargazers_count":30,"watchers_count":30,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":24,"forks":145,"open_issues":24,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938"},"html":{"href":"https://github.com/wildfly/wildfly-core/pull/938"},"issue":{"href":"https://api.github.com/repos/wildfly/wildfly-core/issues/938"},"comments":{"href":"https://api.github.com/repos/wildfly/wildfly-core/issues/938/comments"},"review_comments":{"href":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938/comments"},"review_comment":{"href":"https://api.github.com/repos/wildfly/wildfly-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wildfly/wildfly-core/pulls/938/commits"},"statuses":{"href":"https://api.github.com/repos/wildfly/wildfly-core/statuses/e362ab0bd1bb4e16b6c71a44c960453ac0bc8745"}}}}