Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
5.4.2
-
None
-
None
-
None
Description
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.