mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
core: add missing slash at the end of weechat.org URLs
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
|
||||
@@ -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 (®ex, "\\w+://\\S+",
|
||||
@@ -503,8 +503,8 @@ TEST(CoreEval, EvalReplaceRegex)
|
||||
hashtable_set (pointers, "regex", ®ex);
|
||||
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 (®ex);
|
||||
|
||||
/* hide passwords (regex as string) */
|
||||
|
||||
Reference in New Issue
Block a user