zulip/zerver/views/development
Steve Howell edf1b1e5e8 minor: Fix buggy lstrip() call in integrations dev panel.
Thanks to @minusworld for catching this--see #14264, which
points out that lstrip() doesn't do what your intuition
might tell you it does.

Now we properly remove the "HTTP_" prefix.

It's not clear to me why we need these prefixes for Django
purposes in the fixtures, but I didn't want to go down
the rabbit hole of fixing those.

To test:

    got to http://YOUR-DEV_SERVER/devtools/integrations/
    select "bitbucket3" for the integration.
    select "diagnostics_ping.json" for the fixture.
    see "X_EVENT_KEY" in "Custom HTTP Headers"

Fixes #14264
2020-03-22 11:32:29 -07:00
..
__init__.py
email_log.py scripts: Move inline-email-css from tools to scripts. 2019-11-15 17:39:42 -08:00
integrations.py minor: Fix buggy lstrip() call in integrations dev panel. 2020-03-22 11:32:29 -07:00
registration.py development: Accept ToS for create user buttons. 2019-08-26 13:55:55 -07:00