diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-12-13 09:16:09 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-12-13 09:16:09 +0100 |
commit | 0cd2aff765d378259ea6f60fcade0afb1b473699 (patch) | |
tree | 784006023b42704aac6d24b94bcc6e4532f4fa18 /doc/it/weechat_plugin_api.it.asciidoc | |
parent | 7818e0896424e00f89a9a72eb7fd548f12a8fd49 (diff) | |
download | weechat-0cd2aff765d378259ea6f60fcade0afb1b473699.zip |
core: use https for WeeChat URLs
Diffstat (limited to 'doc/it/weechat_plugin_api.it.asciidoc')
-rw-r--r-- | doc/it/weechat_plugin_api.it.asciidoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/it/weechat_plugin_api.it.asciidoc b/doc/it/weechat_plugin_api.it.asciidoc index b7367d5c6..588e63dad 100644 --- a/doc/it/weechat_plugin_api.it.asciidoc +++ b/doc/it/weechat_plugin_api.it.asciidoc @@ -10,7 +10,7 @@ Questo manuale documenta il client di chat WeeChat, ed è parte del programma stesso. La versione più recente di questo documento si trova qui: -http://weechat.org/doc +https://weechat.org/doc [[introduction]] @@ -2029,7 +2029,7 @@ struct t_hashtable *options2 = weechat_hashtable_new (8, /* add brackets around URLs */ weechat_hashtable_set (options2, "regex", "\\w+://\\S+"); weechat_hashtable_set (options2, "regex_replace", "[ ${re:0} ]"); -char *str4 = weechat_string_eval_expression ("test: http://weechat.org", NULL, NULL, NULL); /* "test: [ http://weechat.org ]" */ +char *str4 = weechat_string_eval_expression ("test: https://weechat.org", NULL, NULL, NULL); /* "test: [ https://weechat.org ]" */ /* hide passwords */ weechat_hashtable_set (options2, "regex", "(password=)(\\S+)"); @@ -2058,7 +2058,7 @@ options = { "regex": "\\w+://\\S+", "regex_replace": "[ ${re:0} ]", } -str4 = weechat.string_eval_expression("test: http://weechat.org", {}, {}, options) # "test: [ http://weechat.org ]" +str4 = weechat.string_eval_expression("test: https://weechat.org", {}, {}, options) # "test: [ https://weechat.org ]" # replace with regex: hide passwords options = { @@ -7381,7 +7381,7 @@ un URL sono disponibili con la funzione // TRANSLATION MISSING [TIP] If you want to retrieve infos about WeeChat (like current stable version, -latest git commit, ...), you can use URLs on page http://weechat.org/dev/info +latest git commit, ...), you can use URLs on page https://weechat.org/dev/info [NOTE] La dimensione del buffer per l'invio dei dati alla callback è di 64KB (ci sono @@ -7583,7 +7583,7 @@ struct t_hashtable *options = weechat_hashtable_new (8, if (options) { weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html"); - struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://weechat.org/", + struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/", options, 20000, &my_process_cb, NULL); @@ -7648,7 +7648,7 @@ def my_process_cb(data, command, return_code, out, err): return weechat.WEECHAT_RC_OK # example 1: download URL -hook1 = weechat.hook_process_hashtable("url:http://weechat.org/", +hook1 = weechat.hook_process_hashtable("url:https://weechat.org/", {"file_out": "/tmp/weechat.org.html"}, 20000, "my_process_cb", "") |