1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

core: use https for WeeChat URLs

This commit is contained in:
Sébastien Helleu
2014-12-13 09:16:09 +01:00
parent 7818e08964
commit 0cd2aff765
91 changed files with 313 additions and 313 deletions
+4 -4
View File
@@ -284,8 +284,8 @@ TEST(Eval, EvalReplaceRegex)
hashtable_remove (pointers, "regex");
hashtable_set (options, "regex", "\\w+://\\S+");
hashtable_set (options, "regex_replace", "[ ${re:0} ]");
WEE_CHECK_EVAL("test: [ http://weechat.org ]",
"test: http://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+",
@@ -293,8 +293,8 @@ TEST(Eval, EvalReplaceRegex)
hashtable_set (pointers, "regex", &regex);
hashtable_remove (options, "regex");
hashtable_set (options, "regex_replace", "[ ${re:0} ]");
WEE_CHECK_EVAL("test: [ http://weechat.org ]",
"test: http://weechat.org");
WEE_CHECK_EVAL("test: [ https://weechat.org ]",
"test: https://weechat.org");
regfree (&regex);
/* hide passwords (regex as string) */