Skip to content

routes_pathname_prefix not respected for route authorization #152

Description

@jannschu

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions