zulip/zilencer
Mateusz Mandera 4153b5c517 remote_server: Improve uuid validation at the server/register endpoint.
As explained in the comments in the code, just doing UUID(string) and
catching ValueError is not enough, because the uuid library sometimes
tries to modify the string to convert it into a valid UUID:

>>> a = '18cedb98-5222-5f34-50a9-fc418e1ba972'
>>> uuid.UUID(a, version=4)
UUID('18cedb98-5222-4f34-90a9-fc418e1ba972')
2021-12-31 11:18:01 -08:00
..
lib billing: Move zilencer/lib/stripe to corporate. 2018-10-01 15:43:44 -07:00
management settings: Rename TOS_VERSION to TERMS_OF_SERVICE_VERSION. 2021-12-09 17:51:16 -08:00
migrations remote_server: Migrate RemoteZulipServer.uuid to be UUIDField. 2021-12-28 10:11:34 -08:00
README.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
__init__.py
models.py remote_server: Migrate RemoteZulipServer.uuid to be UUIDField. 2021-12-28 10:11:34 -08:00
urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
views.py remote_server: Improve uuid validation at the server/register endpoint. 2021-12-31 11:18:01 -08:00

README.md

ZILENCER -- The Zulip license manager

This app is the place for storing state about various deployments of Zulip that exist in the world.