Fix handling of multiple wildcards
The matching check for topic filters did not take into account that a
mixture of wildcards is valid. While # is only allowed a single time,
using + is valid in multiple occasions and can also me mixed with other
wildcards.
Fixes: QTBUG-104478
Pick-to: 6.6 6.5 6.2
Change-Id: I04129d5fbbb21c95115a15d74c6787804a8d0b10
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
| commit | 95b38eafb514832a951a5c67f3a2af9ff8fb83de |
| parent | 648a2da86537776b075e9e9062de5ae2deb1429d |
| author | Maurice Kalinowski <maurice.kalinowski@qt.io> |
| committer | Maurice Kalinowski <maurice.kalinowski@qt.io> |
| commit time | Thu, 30 Nov 2023 09:57:18 +0100 |