From aa25348ddcad9efde4afc00bf1f6b9d07f6ddf64 Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Wed, 14 Jun 2017 00:32:17 -0230 Subject: [PATCH] markdown: Recommend substituting bot email and API key in URL. We now recommend substituting the appropriate bot email and API key in the webhook URL in the webhook-url-with-bot-email.md macro. --- .../zerver/help/include/webhook-url-with-bot-email.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/zerver/help/include/webhook-url-with-bot-email.md b/templates/zerver/help/include/webhook-url-with-bot-email.md index aaf7fbd05a..95734dda41 100644 --- a/templates/zerver/help/include/webhook-url-with-bot-email.md +++ b/templates/zerver/help/include/webhook-url-with-bot-email.md @@ -2,6 +2,8 @@ In the URL field, enter: `{{ external_uri_scheme }}bot_email:bot_api_key@{{ external_api_path_subdomain }}{{ integration_url }}` -Make sure to replace the `@` in the bot's email address with `%40`, -as {{ integration_display_name }}'s website will incorrectly refuse -to parse a username containing a `@`. +Replace `bot_email` and `bot_api_key` above with the URL-encoded email +address and API key of the bot. To URL-encode the email address, you +just need to replace `@` in the bot's email address with `%40`. + +