We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0d3ba commit e4563acCopy full SHA for e4563ac
h/security/policy/combined.py
@@ -88,7 +88,7 @@ def _call_sub_policies(self, method, request, *args, **kwargs):
88
89
@staticmethod
90
def _is_api_request(request):
91
- return (request.path.startswith("/api") or request.path.startswith("/hypothesis")) and request.path not in [
+ return (request.path.startswith("/api") or request.path.startswith("/hypothesis/api")) and request.path not in [
92
"/api/token",
93
"/api/badge",
94
"/hypothesis/api/token",
0 commit comments