On 5/29/26 04:30, aenri wrote:
Thank you for your question, Robin!




The conflict between some /foo/*/bar and some /foo/**/bar would resolve to 
/foo/*/bar taking priority, as * is a direct subset of **. since (according to 
my understanding of the code) the only direct difference is that * consumes up 
until a slash (/) (noted that both reject the null byte \x00) but otherwise 
will accept anything that's thrown it's way, it is considered a direct subset.


yep this is correct. As long as the conflict can be resolved with a subset of 
states, you are good. It gets trickier if you have multiple rules conflicting, 
but you can do just a pairwise comparison for each combination in the set.





Thank you,

Aenri Lovehart


Reply via email to