[ARTEMIS-2166]Unable to delete queue with single quote from console

Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/ca4dcc5b
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/ca4dcc5b
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/ca4dcc5b

Branch: refs/heads/master
Commit: ca4dcc5b35d17102eb2d8d55e4a5093651485d05
Parents: 39b177d
Author: Shailendra Kumar Singh <shailendra...@gmail.com>
Authored: Thu Nov 8 09:28:48 2018 +0530
Committer: Justin Bertram <jbert...@apache.org>
Committed: Thu Dec 13 13:48:09 2018 -0600

----------------------------------------------------------------------
 artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/queue.js | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ca4dcc5b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/queue.js
----------------------------------------------------------------------
diff --git a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/queue.js 
b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/queue.js
index 4764266..cf8fc56 100644
--- a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/queue.js
+++ b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/queue.js
@@ -102,7 +102,6 @@ var ARTEMIS = (function(ARTEMIS) {
                 if (selection && jolokia && entries) {
                     var domain = selection.domain;
                     var name = entries["Destination"] || 
entries["destinationName"] || selection.title;
-                    name = name.replace(/['"]+/g, '');
                     name = ARTEMISService.artemisConsole.ownUnescape(name);
                     ARTEMIS.log.info(name);
                     var operation;

Reply via email to