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.

docs: Update guidelines to URL-encode stream name or topic name.

akshatdalton1abae8baaa94
diff --git a/templates/zerver/help/include/create-bot-construct-url-indented.md b/templates/zerver/help/include/create-bot-construct-url-indented.md
index 33047e90305..9d7a76adf81 100644
--- a/templates/zerver/help/include/create-bot-construct-url-indented.md
+++ b/templates/zerver/help/include/create-bot-construct-url-indented.md
@@ -6,9 +6,10 @@
{!webhook-url.md!}
Modify the parameters of the URL above, where `api_key` is the API key
- of your Zulip bot, and `stream` is the URL-encoded stream name you want the
- notifications sent to. If you do not specify a `stream`, the bot will
- send notifications via PMs to the creator of the bot.
+ of your Zulip bot, and `stream` is the [URL-encoded](https://www.urlencoder.org/)
+ stream name you want the notifications sent to. If you do not specify a
+ `stream`, the bot will send notifications via PMs to the creator of the bot.
- If you'd like this integration to always send to the topic
- `your topic`, just add `&topic=your%20topic` to the end of the URL.
+ If you'd like this integration to always send to a specific topic,
+ just include the (URL-encoded) topic as an additional parameter
+ (E.g. for `your topic`, append `&topic=your%20topic` to the URL).
diff --git a/templates/zerver/help/include/create-bot-construct-url.md b/templates/zerver/help/include/create-bot-construct-url.md
index b56b45dfd2b..b10671968cd 100644
--- a/templates/zerver/help/include/create-bot-construct-url.md
+++ b/templates/zerver/help/include/create-bot-construct-url.md
@@ -6,9 +6,10 @@ bot using the bot's API key and the desired stream name:
{!webhook-url.md!}
Modify the parameters of the URL above, where `api_key` is the API key
-of your Zulip bot, and `stream` is the URL-encoded stream name you want the
-notifications sent to. If you do not specify a `stream`, the bot will
-send notifications via PMs to the creator of the bot.
+of your Zulip bot, and `stream` is the [URL-encoded](https://www.urlencoder.org/)
+stream name you want the notifications sent to. If you do not specify a
+`stream`, the bot will send notifications via PMs to the creator of the bot.
-If you'd like this integration to always send to the topic
-`your topic`, just add `&topic=your%20topic` to the end of the URL.
+If you'd like this integration to always send to a specific topic,
+just include the (URL-encoded) topic as an additional parameter
+(E.g. for `your topic`, append `&topic=your%20topic` to the URL).