This is an automated email from the ASF dual-hosted git repository.

nigrofranz pushed a commit to branch 2.6.x
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/2.6.x by this push:
     new fd62c60  [ARTEMIS-2166]Unable to delete queue with single quote from 
console
fd62c60 is described below

commit fd62c608843f8f6f8975255e303b5251ecd8f69f
Author: Shailendra Kumar Singh <shailendra...@gmail.com>
AuthorDate: Thu Nov 8 09:28:48 2018 +0530

    [ARTEMIS-2166]Unable to delete queue with single quote from console
    
    (cherry picked from commit ca4dcc5b35d17102eb2d8d55e4a5093651485d05)
---
 artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/queue.js | 1 -
 1 file changed, 1 deletion(-)

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