Skip to content


Subversion checkout URL

You can clone with
Download ZIP


No regex pattern matching when delegating to sub applications #267

Larpon opened this Issue · 0 comments

1 participant


I think there might be an undesirable feature in the way paths are matched in the code that decides if a path should be delegated to a sub application.

The value is matched with ".startswith(pat)" which causes the delegation to choose the first sub application that handles a path similar to other sub application registered paths .

An example:
sub_app1 handles "/theme"
sub_app2 handles "/themes"

when I request "/themes" in my browser it's sub_app1's code that will handle it because .startswith(pat) will match "/theme" before "/themes" - thus giving me an undesired result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.