Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routes_pathname_prefix not respected for route authorization #152

Open
jannschu opened this issue Jul 26, 2024 · 1 comment
Open

routes_pathname_prefix not respected for route authorization #152

jannschu opened this issue Jul 26, 2024 · 1 comment

Comments

@jannschu
Copy link

jannschu commented Jul 26, 2024

Hi!

The routes_pathname_prefix is not respected in the following which breaks public routes and callbacks if a prefix is used:

if request.path == "/_dash-update-component":

edit: Maybe this could be an alternative?

if request.url_rule and app.server.view_functions.get(request.url_rule.endpoint) == app.dispatch:
@olivier-lacroix
Copy link

Cc @RenaudLN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants