AMQ Web console creates, but does not delete destinations with '#', '%', '&'
and '+' characters.
------------------------------------------------------------------------------------------------
Key: AMQ-3113
URL: https://issues.apache.org/jira/browse/AMQ-3113
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.4.2
Reporter: Robert Liguori
The AMQ web console (http://localhost:8161/admin/queues.jsp) allows for the
creation of queues with the following names:
Name 1: ####
Name 2: %%%%
Name 3: &&&&
Name 4: ++++
The names are accepted and are shown in the AMQ's web consoles Queue table
(http://localhost:8161/admin/queues.jsp) .
The web console does not allow for deletion of any of these destinations when
pressing the associated "Delete" button.
When "Delete" is pressed associated with "####", a new web page is displayed
with this information:
Error! Exception occurred while processing this request, check the log for more
information!
When "Delete" is pressed associated with "%%%%", "&&&&", or "++++", the screen
is refreshed with no apparent changes, that is, the destination queue is still
there:
I imagine that there should be error handling at the page level and or
middle-tier for these situatlions... and/or validation logic against the web
components if the user shouldn't be using these characters.
Note that I don't think that the character set is defined for the destination
identifier... couldn't find it in the spec:
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SimpleBundleDownload.
Perhaps it should be. Note the traditional Java identifiers are made up of
Java Letters which includes characters where
Character.isJavaIdentifierStart(int) returns true.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.