Fix subscription topic authorization bypass - #18418
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Remove this useless assignment to local variable "topicName".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEOWRt4gBeCJKM5n&open=AZ_aNEOWRt4gBeCJKM5n&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Rename "dataTypes" which hides the field declared at line 69.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEhvRt4gBeCJKM5w&open=AZ_aNEhvRt4gBeCJKM5w&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEquRt4gBeCJKM51&open=AZ_aNEquRt4gBeCJKM51&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "topicName" local variable.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEOWRt4gBeCJKM5o&open=AZ_aNEOWRt4gBeCJKM5o&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEh-Rt4gBeCJKM5y&open=AZ_aNEh-Rt4gBeCJKM5y&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 99 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEhvRt4gBeCJKM5x&open=AZ_aNEhvRt4gBeCJKM5x&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 97 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEhvRt4gBeCJKM5v&open=AZ_aNEhvRt4gBeCJKM5v&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEuDRt4gBeCJKM53&open=AZ_aNEuDRt4gBeCJKM53&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 134).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEh-Rt4gBeCJKM5z&open=AZ_aNEh-Rt4gBeCJKM5z&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEuDRt4gBeCJKM52&open=AZ_aNEuDRt4gBeCJKM52&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 155).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEgfRt4gBeCJKM5q&open=AZ_aNEgfRt4gBeCJKM5q&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Merge the previous cases into this one using comma-separated label.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEhvRt4gBeCJKM5t&open=AZ_aNEhvRt4gBeCJKM5t&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEquRt4gBeCJKM50&open=AZ_aNEquRt4gBeCJKM50&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 123).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNE3NRt4gBeCJKM54&open=AZ_aNE3NRt4gBeCJKM54&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 136).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNE3NRt4gBeCJKM55&open=AZ_aNE3NRt4gBeCJKM55&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEhvRt4gBeCJKM5r&open=AZ_aNEhvRt4gBeCJKM5r&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Merge the previous cases into this one using comma-separated label.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEhvRt4gBeCJKM5s&open=AZ_aNEhvRt4gBeCJKM5s&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Merge the previous cases into this one using comma-separated label.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEhvRt4gBeCJKM5u&open=AZ_aNEhvRt4gBeCJKM5u&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
Remove this unused method parameter "topicName".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEOWRt4gBeCJKM5m&open=AZ_aNEOWRt4gBeCJKM5m&pullRequest=18418
sonarqubecloud / SonarCloud Code Analysis
A single-line comment should start with exactly two slashes, no more.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aNEOWRt4gBeCJKM5p&open=AZ_aNEOWRt4gBeCJKM5p&pullRequest=18418