feature: #issues 3741 use pathPatter as default rule condition operator
@@ -242,6 +242,8 @@ public abstract class AbstractShenyuClientRegisterServiceImpl extends FallbackSh
.build();
if (path.endsWith(AdminConstants.URI_SLASH_SUFFIX)) {
ruleConditionDTO.setOperator(OperatorEnum.STARTS_WITH.getAlias());
+ } else if (path.endsWith(AdminConstants.URI_SUFFIX)) {
+ ruleConditionDTO.setOperator(OperatorEnum.PATH_PATTER.getAlias());
} else if (path.indexOf("*") > 1) {
ruleConditionDTO.setOperator(OperatorEnum.MATCH.getAlias());
} else {
