Open volinthius opened 5 years ago
In FalconAuthMiddleware the exempt_routes list gets appended with auth disabled route on every call to a resource which has auth_disabled set:
FalconAuthMiddleware
exempt_routes
auth_disabled
def _get_auth_settings(self, req, resource): ... if auth_settings.get('auth_disabled'): auth_settings['exempt_routes'].append(req.uri_template) ...
This causes the list to grow indefinitely.
In
FalconAuthMiddleware
theexempt_routes
list gets appended with auth disabled route on every call to a resource which hasauth_disabled
set:This causes the list to grow indefinitely.