You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/11/01 05:45:27 UTC

[GitHub] [shenyu] gongzhibo commented on issue #4131: [BUG] The matching priority of routing rules according to the number of conditions is not accurate, and they should be sorted first</h1><pre> gongzhibo commented on issue #4131: URL: https://github.com/apache/shenyu/issues/4131#issuecomment-1298057664 > > My example has some problems. However, it is wrong to add the number parameter of the upper condition for some cases. I don't think the rule of increasing the number of conditions is necessary for routing > > @gongzhibo You'd better give a correct example. It will help others including me understand your problem and what is wrong with the logic of source code. request URL : /test/abc/1 1、sort 1 /test/abc/1 one condition 2、sort 2 /test/** two condition 3、sort 3 /test/abc/** two condition The result of this match is/test/* *, but the result I want is/test/abc/1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org </pre><hr/> </body> </html>