Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for https://github.com/nanomq/nanomq/issues/1719 #903

Merged
merged 7 commits into from
Mar 27, 2024
Merged

Conversation

OdyWayne
Copy link
Collaborator

No description provided.

Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 22.22222% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 65.24%. Comparing base (0d35a47) to head (a306d42).

Files Patch % Lines
src/sp/protocol/mqtt/mqtt_parser.c 28.57% 5 Missing ⚠️
src/mqtt/protocol/exchange/exchange_server.c 0.00% 1 Missing ⚠️
src/supplemental/mqtt/mqtt_public.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #903      +/-   ##
==========================================
- Coverage   65.27%   65.24%   -0.04%     
==========================================
  Files         130      130              
  Lines       37891    37898       +7     
==========================================
- Hits        24734    24727       -7     
- Misses      13157    13171      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: wayne <yukang.wei@emqx.io>
@@ -1861,6 +1867,10 @@ topic_filter(const char *origin, const char *input)
bool
topic_filtern(const char *origin, const char *input, size_t n)
{
// Wrong topic or invalid topic alias
if (input == NULL || origin == NULL)
return false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doens't it conflict with topic alias?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants