summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-network.c2
-rw-r--r--src/core/wee-string.c6
-rw-r--r--src/plugins/exec/exec-command.c2
-rw-r--r--src/plugins/relay/relay-config.c2
-rw-r--r--src/plugins/relay/relay-websocket.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/core/wee-network.c b/src/core/wee-network.c
index 409dd141a..f184a7f2a 100644
--- a/src/core/wee-network.c
+++ b/src/core/wee-network.c
@@ -345,7 +345,7 @@ network_resolve (const char *hostname, char *ip, int *version)
/*
* Establishes a connection and authenticates with a socks4 proxy.
*
- * The socks4 protocol is explained here: http://en.wikipedia.org/wiki/SOCKS
+ * The socks4 protocol is explained here: https://en.wikipedia.org/wiki/SOCKS
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
diff --git a/src/core/wee-string.c b/src/core/wee-string.c
index 0302dfb27..935a079fb 100644
--- a/src/core/wee-string.c
+++ b/src/core/wee-string.c
@@ -1974,7 +1974,7 @@ string_split_shared (const char *string, const char *separators, int keep_eol,
*
* This function is a C conversion of Python class "shlex"
* (file: Lib/shlex.py in Python repository)
- * Doc: http://docs.python.org/3/library/shlex.html
+ * Doc: https://docs.python.org/3/library/shlex.html
*
* Copyrights in shlex.py:
* Module and documentation by Eric S. Raymond, 21 Dec 1998
@@ -2791,7 +2791,7 @@ string_base16_decode (const char *from, char *to)
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -2867,7 +2867,7 @@ string_base32_encode (const char *from, int length, char *to)
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c
index 6f319366f..94f05bb71 100644
--- a/src/plugins/exec/exec-command.c
+++ b/src/plugins/exec/exec-command.c
@@ -901,7 +901,7 @@ exec_command_init ()
"Examples:\n"
" /exec -n ls -l /tmp\n"
" /exec -sh -n ps xu | grep weechat\n"
- " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n"
+ " /exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx\n"
" /exec -nf -noln links -dump "
"https://weechat.org/files/doc/devel/weechat_user.en.html\n"
" /exec -o uptime\n"
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index e85e44454..31705bd22 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -934,7 +934,7 @@ relay_config_init ()
N_("POSIX extended regular expression with origins allowed in "
"websockets (case insensitive, use \"(?-i)\" at beginning to make "
"it case sensitive), example: "
- "\"^http://(www\\.)?example\\.(com|org)\""),
+ "\"^https?://(www\\.)?example\\.(com|org)\""),
NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL,
&relay_config_change_network_websocket_allowed_origins, NULL, NULL,
diff --git a/src/plugins/relay/relay-websocket.c b/src/plugins/relay/relay-websocket.c
index 14c348d62..9f3f623f7 100644
--- a/src/plugins/relay/relay-websocket.c
+++ b/src/plugins/relay/relay-websocket.c
@@ -113,7 +113,7 @@ relay_websocket_save_header (struct t_relay_client *client,
* Upgrade: websocket
* Connection: Upgrade
* Host: myhost:5000
- * Origin: http://example.org.org
+ * Origin: http://example.org
* Pragma: no-cache
* Cache-Control: no-cache
* Sec-WebSocket-Key: fo1J9uHSsrfDP3BkwUylzQ==