Closed this issue 4 years ago · 0 comments
Calls to request.url_rule.endpoint in base.html fail as request has no url_rule when an error 404 is triggered. Results in
request.url_rule.endpoint
base.html
request
url_rule
jinja2.exceptions.UndefinedError: 'None' has no attribute 'endpoint'
Bug introduced in 0939853.