snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
174
zerver/tests/fixtures/url_encoding_test_cases.json
vendored
Normal file
174
zerver/tests/fixtures/url_encoding_test_cases.json
vendored
Normal file
@@ -0,0 +1,174 @@
|
||||
[
|
||||
{
|
||||
"name": "hyphen",
|
||||
"input": "-",
|
||||
"expected_output": "-"
|
||||
},
|
||||
{
|
||||
"name": "underscore",
|
||||
"input": "_",
|
||||
"expected_output": "_"
|
||||
},
|
||||
{
|
||||
"name": "tilde",
|
||||
"input": "~",
|
||||
"expected_output": "~"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "space",
|
||||
"input": " ",
|
||||
"expected_output": ".20"
|
||||
},
|
||||
{
|
||||
"name": "exclamation",
|
||||
"input": "!",
|
||||
"expected_output": ".21"
|
||||
},
|
||||
{
|
||||
"name": "double_quote",
|
||||
"input": "\"",
|
||||
"expected_output": ".22"
|
||||
},
|
||||
{
|
||||
"name": "hash",
|
||||
"input": "#",
|
||||
"expected_output": ".23"
|
||||
},
|
||||
{
|
||||
"name": "dollar",
|
||||
"input": "$",
|
||||
"expected_output": ".24"
|
||||
},
|
||||
{
|
||||
"name": "percent",
|
||||
"input": "%",
|
||||
"expected_output": ".25"
|
||||
},
|
||||
{
|
||||
"name": "ampersand",
|
||||
"input": "&",
|
||||
"expected_output": ".26"
|
||||
},
|
||||
{
|
||||
"name": "single_quote",
|
||||
"input": "'",
|
||||
"expected_output": ".27"
|
||||
},
|
||||
{
|
||||
"name": "open_paren",
|
||||
"input": "(",
|
||||
"expected_output": ".28"
|
||||
},
|
||||
{
|
||||
"name": "close_paren",
|
||||
"input": ")",
|
||||
"expected_output": ".29"
|
||||
},
|
||||
{
|
||||
"name": "asterisk",
|
||||
"input": "*",
|
||||
"expected_output": ".2A"
|
||||
},
|
||||
{
|
||||
"name": "plus",
|
||||
"input": "+",
|
||||
"expected_output": ".2B"
|
||||
},
|
||||
{
|
||||
"name": "comma",
|
||||
"input": ",",
|
||||
"expected_output": ".2C"
|
||||
},
|
||||
{
|
||||
"name": "period",
|
||||
"input": ".",
|
||||
"expected_output": ".2E"
|
||||
},
|
||||
{
|
||||
"name": "slash",
|
||||
"input": "/",
|
||||
"expected_output": ".2F"
|
||||
},
|
||||
{
|
||||
"name": "colon",
|
||||
"input": ":",
|
||||
"expected_output": ".3A"
|
||||
},
|
||||
{
|
||||
"name": "semicolon",
|
||||
"input": ";",
|
||||
"expected_output": ".3B"
|
||||
},
|
||||
{
|
||||
"name": "less_than",
|
||||
"input": "<",
|
||||
"expected_output": ".3C"
|
||||
},
|
||||
{
|
||||
"name": "equals",
|
||||
"input": "=",
|
||||
"expected_output": ".3D"
|
||||
},
|
||||
{
|
||||
"name": "greater_than",
|
||||
"input": ">",
|
||||
"expected_output": ".3E"
|
||||
},
|
||||
{
|
||||
"name": "question",
|
||||
"input": "?",
|
||||
"expected_output": ".3F"
|
||||
},
|
||||
{
|
||||
"name": "at",
|
||||
"input": "@",
|
||||
"expected_output": ".40"
|
||||
},
|
||||
{
|
||||
"name": "open_bracket",
|
||||
"input": "[",
|
||||
"expected_output": ".5B"
|
||||
},
|
||||
{
|
||||
"name": "backslash",
|
||||
"input": "\\",
|
||||
"expected_output": ".5C"
|
||||
},
|
||||
{
|
||||
"name": "close_bracket",
|
||||
"input": "]",
|
||||
"expected_output": ".5D"
|
||||
},
|
||||
{
|
||||
"name": "caret",
|
||||
"input": "^",
|
||||
"expected_output": ".5E"
|
||||
},
|
||||
{
|
||||
"name": "backtick",
|
||||
"input": "`",
|
||||
"expected_output": ".60"
|
||||
},
|
||||
{
|
||||
"name": "open_brace",
|
||||
"input": "{",
|
||||
"expected_output": ".7B"
|
||||
},
|
||||
{
|
||||
"name": "pipe",
|
||||
"input": "|",
|
||||
"expected_output": ".7C"
|
||||
},
|
||||
{
|
||||
"name": "close_brace",
|
||||
"input": "}",
|
||||
"expected_output": ".7D"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "simple_url",
|
||||
"input": "https://www.zulipexample.com",
|
||||
"expected_output": "https.3A.2F.2Fwww.2Ezulipexample.2Ecom"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user