core: add missing slash at the end of weechat.org URLs

v2.8-utf8proc
Sébastien Helleu 2018-09-09 10:00:53 +02:00
parent 952640e88c
commit 1ff9d1f52a
2 changed files with 5 additions and 5 deletions

View File

@ -261,7 +261,7 @@ No release note.
The option _script.scripts.url_force_https_ has been removed because now the
site weechat.org can only be used with HTTPS. +
Both HTTP and HTTPS protocols are allowed in the option _script.scripts.url_.
For http://weechat.org an automatic redirection to https://weechat.org will
For http://weechat.org/ an automatic redirection to https://weechat.org/ will
occur, so you should check that the CA certificates are properly installed
on your machine.

View File

@ -494,8 +494,8 @@ TEST(CoreEval, EvalReplaceRegex)
hashtable_remove (pointers, "regex");
hashtable_set (options, "regex", "\\w+://\\S+");
hashtable_set (options, "regex_replace", "[ ${re:0} ]");
WEE_CHECK_EVAL("test: [ https://weechat.org ]",
"test: https://weechat.org");
WEE_CHECK_EVAL("test: [ https://weechat.org/ ]",
"test: https://weechat.org/");
/* add brackets around URLs (compiled regex) */
LONGS_EQUAL(0, string_regcomp (&regex, "\\w+://\\S+",
@ -503,8 +503,8 @@ TEST(CoreEval, EvalReplaceRegex)
hashtable_set (pointers, "regex", &regex);
hashtable_remove (options, "regex");
hashtable_set (options, "regex_replace", "[ ${re:0} ]");
WEE_CHECK_EVAL("test: [ https://weechat.org ]",
"test: https://weechat.org");
WEE_CHECK_EVAL("test: [ https://weechat.org/ ]",
"test: https://weechat.org/");
regfree (&regex);
/* hide passwords (regex as string) */