Skip to content

Precompiled 2024-07-04-9226c22

Choose a tag to compare

@github-actions github-actions released this 04 Jul 00:50
· 3741 commits to main since this release
route to the most specific http endpoint (#27567)

the httpRouter currently has somewhat odd behavior, because we allow paths to overlap but only if you define them in a certain order.

new behavior: http route paths can always overlap, unless they are exactly the same. when picking one to execute, we choose an exact path if one matches, and otherwise we pick the longest prefix path that matches.

added test cases, and also ran similar tests manually

GitOrigin-RevId: 372c4bdaf384e91dfa8d4c6cf77e6d75ec1708e2