mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
For beanstalk we need to provide a decorator that converts %40 to @ in the http basic auth part of the URL. However, if we put our own wrapper around rest_dispatch, the Django CSRF protection jumps in. This requires us to put @csrf_exempt on our extra dispatch function, at which point we might as well have avoided rest_dispatch in the first place and put a @csrf_exempt decorator on our api_beanstalk_webhook. (imported from commit b1f459aad26a5b80cce93f6c859240a53c11cc22)
82 KiB
82 KiB