Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

zilencer: Fix typo in comment.

Alex Vandiver2dd8818517ca
diff --git a/zilencer/views.py b/zilencer/views.py
index 57b48cd95a6..8be84b07285 100644
--- a/zilencer/views.py
+++ b/zilencer/views.py
@@ -156,7 +156,7 @@ def validate_hostname_or_raise_error(hostname: str) -> None:
# We perform basic validation in two steps:
# 1. urlsplit doesn't do any proper validation, but parses the string
# and ensures that there are no extra components (e.g., path, query, fragment).
- # 2. Once we know that the string is a clean netloc, we pass that do Django's
+ # 2. Once we know that the string is a clean netloc, we pass that to Django's
# URLValidator for validation.
parsed = urlsplit(f"http://{hostname}")