Browse Source

No CSRF check for /bounce endpoint

pull/117/head
Pēteris Caune 8 years ago
parent
commit
68d591c677
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      hc/api/views.py

+ 1
- 0
hc/api/views.py View File

@ -177,6 +177,7 @@ def badge(request, username, signature, tag):
return HttpResponse(svg, content_type="image/svg+xml") return HttpResponse(svg, content_type="image/svg+xml")
@csrf_exempt
@uuid_or_400 @uuid_or_400
def bounce(request, code): def bounce(request, code):
try: try:


Loading…
Cancel
Save