You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
Flask middleware raises AttributeError for 404 routes #777
It assumes that the url_rule is not None -- if you hit any non-existent URL (ie. a 404-triggering URL), then request.url_rule will be None and code will raise an AttributeError
Activity
reyang commentedon Aug 30, 2019
@olance would you help on this? Thanks!
jtbeach commentedon Sep 2, 2019
PR raised in #781
olance commentedon Sep 2, 2019
@reyang Sorry for the lag, and thanks @jtbeach for chiming in!