diff --git a/ReleaseNotes.adoc b/ReleaseNotes.adoc index 91e491677..42ce546d0 100644 --- a/ReleaseNotes.adoc +++ b/ReleaseNotes.adoc @@ -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. diff --git a/tests/unit/core/test-eval.cpp b/tests/unit/core/test-eval.cpp index 7e85a1811..3a34f9b7b 100644 --- a/tests/unit/core/test-eval.cpp +++ b/tests/unit/core/test-eval.cpp @@ -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) */