mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
core: use https for all links where secured http is supported
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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==
|
||||
|
||||
Reference in New Issue
Block a user