[ 
https://issues.apache.org/jira/browse/AMQ-5885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176043#comment-15176043
 ] 

ASF subversion and git services commented on AMQ-5885:
------------------------------------------------------

Commit 5d6d42ce97a8a6cacd630574e54b330275d041a7 in activemq's branch 
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=5d6d42c ]

https://issues.apache.org/jira/browse/AMQ-5883
https://issues.apache.org/jira/browse/AMQ-5884
https://issues.apache.org/jira/browse/AMQ-5885

Add additional validation of Topic names used in subscribe and
unsubscriobe that test for spec compliance.  

> AMQ accepts illegal wildcard usage in MQTT SUBSCRIBE and UNSUBSCRIBE
> --------------------------------------------------------------------
>
>                 Key: AMQ-5885
>                 URL: https://issues.apache.org/jira/browse/AMQ-5885
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.11.1
>         Environment: OSX 10.10
> https://github.com/ckrey/MQTT-Client-Framework testcases
>            Reporter: Christoph Krey
>            Priority: Minor
>
> AMQ accepts: "#MQTTClient" , "MQTTClient/#/def", "MQTTClient+"
> MQTT spec says:
> [MQTT-4.7.1-2]
> The multi-level wildcard character MUST be specified either on its own or 
> following a topic level separator. In either case it MUST be the last 
> character specified in the Topic Filter.
> [MQTT-4.7.1-3]
> The single-level wildcard can be used at any level in the Topic Filter, 
> including first and last levels. Where it is used it MUST occupy an entire 
> level of the filter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to