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

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

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 MQTT SUBSCRIBE and UNSUBSCRIBE with no topic filters
> ----------------------------------------------------------------
>
>                 Key: AMQ-5883
>                 URL: https://issues.apache.org/jira/browse/AMQ-5883
>             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
>
> MQTT spec says:
> [MQTT-3.8.3-3]
> The payload of a SUBSCRIBE packet MUST contain at least one Topic Filter / 
> QoS pair. A SUBSCRIBE packet with no payload is a protocol violation.
> [MQTT-3.10.3-2]
> The Payload of an UNSUBSCRIBE packet MUST contain at least one Topic Filter. 
> An UNSUBSCRIBE packet with no payload is a protocol violation.



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

Reply via email to