Skip to content

Commit cd42de3

Browse files
johndohalecpl
authored andcommitted
Update links in comments and config to https where available (#9759)
1 parent 8f34bf9 commit cd42de3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+235
-126
lines changed

config/defaults.inc.php

Lines changed: 43 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@
2525

2626
// Database connection string (DSN) for read+write operations
2727
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
28+
<<<<<<< HEAD
2829
// Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle
2930
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
31+
=======
32+
// Currently supported db_providers: mysql, pgsql, sqlite
33+
// For examples see https://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
34+
>>>>>>> ccede1f27 (Update links in comments and config to https where available (#9759))
3035
// Note: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
3136
// or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
3237
// Note: Various drivers support various additional arguments for connection,
@@ -44,7 +49,7 @@
4449

4550
// use persistent db-connections
4651
// beware this will not "always" work as expected
47-
// see: http://www.php.net/manual/en/features.persistent-connections.php
52+
// see: https://www.php.net/manual/en/features.persistent-connections.php
4853
$config['db_persistent'] = false;
4954

5055
// you can define specific table (and sequence) names prefix
@@ -75,7 +80,7 @@
7580
$config['log_driver'] = 'file';
7681

7782
// date format for log entries
78-
// (read http://php.net/manual/en/function.date.php for all format characters)
83+
// (read https://php.net/manual/en/function.date.php for all format characters)
7984
$config['log_date_format'] = 'd-M-Y H:i:s O';
8085

8186
// length of the session ID to prepend each log line with
@@ -89,8 +94,13 @@
8994
$config['syslog_id'] = 'roundcube';
9095

9196
// Syslog facility to use, if using the 'syslog' log driver.
97+
<<<<<<< HEAD
9298
// For possible values see installer or http://php.net/manual/en/function.openlog.php
9399
$config['syslog_facility'] = LOG_USER;
100+
=======
101+
// For possible values see installer or https://php.net/manual/en/function.openlog.php
102+
$config['syslog_facility'] = \LOG_USER;
103+
>>>>>>> ccede1f27 (Update links in comments and config to https where available (#9759))
94104

95105
// Activate this option if logs should be written to per-user directories.
96106
// Data will only be logged if a directory <log_dir>/<username>/ exists and is writable.
@@ -153,14 +163,35 @@
153163
$config['imap_auth_type'] = null;
154164

155165
// IMAP socket context options
156-
// See http://php.net/manual/en/context.ssl.php
166+
// See https://php.net/manual/en/context.ssl.php
157167
// The example below enables server certificate validation
168+
<<<<<<< HEAD
158169
//$config['imap_conn_options'] = [
159170
// 'ssl' => [
160171
// 'verify_peer' => true,
161172
// 'verify_depth' => 3,
162173
// 'cafile' => '/etc/openssl/certs/ca.crt',
163174
// ],
175+
=======
176+
//
177+
// proxy_protocol is used to inject HAproxy style headers in the TCP stream
178+
// See https://www.haproxy.org/download/1.6/doc/proxy-protocol.txt
179+
// WARNING: Please note this is currently incompatible with implicit ssl,
180+
// since the proxy protocol preamble is expected before the ssl handshake.
181+
// $config['imap_conn_options'] = [
182+
// 'ssl' => [
183+
// 'verify_peer' => true,
184+
// 'verify_depth' => 3,
185+
// 'cafile' => '/etc/openssl/certs/ca.crt',
186+
// ],
187+
// 'proxy_protocol' => 1 | 2 | [ // required (either version number (1|2) or array with 'version' key)
188+
// 'version' => 1 | 2, // required, if array
189+
// 'remote_addr' => $_SERVER['REMOTE_ADDR'], // optional
190+
// 'remote_port' => $_SERVER['REMOTE_PORT'], // optional
191+
// 'local_addr' => $_SERVER['SERVER_ADDR'], // optional
192+
// 'local_port' => $_SERVER['SERVER_PORT'], // optional
193+
// ],
194+
>>>>>>> ccede1f27 (Update links in comments and config to https where available (#9759))
164195
// ];
165196
// Note: These can be also specified as an array of options indexed by hostname
166197
$config['imap_conn_options'] = null;
@@ -307,7 +338,7 @@
307338
$config['smtp_timeout'] = 0;
308339

309340
// SMTP socket context options
310-
// See http://php.net/manual/en/context.ssl.php
341+
// See https://php.net/manual/en/context.ssl.php
311342
// The example below enables server certificate validation, and
312343
// requires 'smtp_timeout' to be non zero.
313344
// $config['smtp_conn_options'] = [
@@ -347,7 +378,7 @@
347378
$config['oauth_identity_uri'] = null;
348379

349380
// Optional: disable SSL certificate check on HTTP requests to OAuth server
350-
// See http://docs.guzzlephp.org/en/stable/request-options.html#verify for possible values
381+
// See https://docs.guzzlephp.org/en/stable/request-options.html#verify for possible values
351382
$config['oauth_verify_peer'] = true;
352383

353384
// Mandatory: OAuth scopes to request (space-separated string)
@@ -426,16 +457,16 @@
426457
$config['memcache_hosts'] = null;
427458

428459
// Controls the use of a persistent connections to memcache servers
429-
// See http://php.net/manual/en/memcache.addserver.php
460+
// See https://php.net/manual/en/memcache.addserver.php
430461
$config['memcache_pconnect'] = true;
431462

432463
// Value in seconds which will be used for connecting to the daemon
433-
// See http://php.net/manual/en/memcache.addserver.php
464+
// See https://php.net/manual/en/memcache.addserver.php
434465
$config['memcache_timeout'] = 1;
435466

436467
// Controls how often a failed server will be retried (value in seconds).
437468
// Setting this parameter to -1 disables automatic retry.
438-
// See http://php.net/manual/en/memcache.addserver.php
469+
// See https://php.net/manual/en/memcache.addserver.php
439470
$config['memcache_retry_interval'] = 15;
440471

441472
// Use these hosts for accessing Redis.
@@ -777,7 +808,7 @@
777808
// Absolute path to a local mime.types mapping table file.
778809
// This is used to derive mime-types from the filename extension or vice versa.
779810
// Such a file is usually part of the apache webserver. If you don't find a file named mime.types on your system,
780-
// download it from http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
811+
// download it from https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
781812
$config['mime_types'] = null;
782813

783814
// path to imagemagick identify binary (if not set we'll use Imagick or GD extensions)
@@ -942,16 +973,16 @@
942973
// - 'googie' - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting)
943974
// - 'pspell' - requires the PHP Pspell module and aspell installed
944975
// - 'enchant' - requires the PHP Enchant module
945-
// - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
976+
// - 'atd' - install your own After the Deadline server or check with the people at https://www.afterthedeadline.com before using their API
946977
// Since Google shut down their public spell checking service, the default settings
947-
// connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
978+
// connect to https://spell.roundcube.net which is a hosted service provided by Roundcube.
948979
// You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
949980
$config['spellcheck_engine'] = 'googie';
950981

951982
// For locally installed Nox Spell Server or After the Deadline services,
952983
// please specify the URI to call it.
953984
// Get Nox Spell Server from http://orangoo.com/labs/?page_id=72 or
954-
// the After the Deadline package from http://www.afterthedeadline.com.
985+
// the After the Deadline package from https://www.afterthedeadline.com.
955986
// Leave empty to use the public API of service.afterthedeadline.com
956987
$config['spellcheck_uri'] = '';
957988

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
| GNU General Public License for more details. |
2929
| |
3030
| You should have received a copy of the GNU General Public License |
31-
| along with this program. If not, see http://www.gnu.org/licenses/. |
31+
| along with this program. If not, see https://www.gnu.org/licenses/. |
3232
| |
3333
+-------------------------------------------------------------------------+
3434
| Author: Thomas Bruederli <roundcube@gmail.com> |

installer/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@
492492

493493
?>
494494
<div>The default locale setting. This also defines the language of the login screen.<br/>Leave it empty to auto-detect the user agent language.</div>
495-
<p class="hint">Enter a <a href="http://www.faqs.org/rfcs/rfc1766">RFC1766</a> formatted language name. Examples: en_US, de_DE, de_CH, fr_FR, pt_BR</p>
495+
<p class="hint">Enter a <a href="https://www.faqs.org/rfcs/rfc1766">RFC1766</a> formatted language name. Examples: en_US, de_DE, de_CH, fr_FR, pt_BR</p>
496496
</dd>
497497

498498
<dt class="propname">skin <span class="userconf">*</span></dt>

installer/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
| GNU General Public License for more details. |
3030
| |
3131
| You should have received a copy of the GNU General Public License |
32-
| along with this program. If not, see http://www.gnu.org/licenses/. |
32+
| along with this program. If not, see https://www.gnu.org/licenses/. |
3333
| |
3434
+-------------------------------------------------------------------------+
3535
| Author: Thomas Bruederli <roundcube@gmail.com> |
@@ -105,7 +105,7 @@
105105

106106
<div id="banner">
107107
<div class="banner-bg"></div>
108-
<div class="banner-logo"><a href="http://roundcube.net"><img src="images/roundcube_logo.png" width="210" height="55" border="0" alt="Roundcube - open source webmail software" /></a></div>
108+
<div class="banner-logo"><a href="https://roundcube.net"><img src="images/roundcube_logo.png" width="210" height="55" border="0" alt="Roundcube - open source webmail software" /></a></div>
109109
</div>
110110

111111
<div id="topnav">

installer/test.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,8 @@
252252
$RCI->fail('Fileinfo/mime_content_type configuration');
253253
if (!empty($RCI->config['mime_magic'])) {
254254
echo '<p class="hint">Try setting the <tt>mime_magic</tt> config option to <tt>null</tt>.</p>';
255-
}
256-
else {
257-
echo '<p class="hint">Check the <a href="http://www.php.net/manual/en/function.finfo-open.php">Fileinfo functions</a> of your PHP installation.<br/>';
255+
} else {
256+
echo '<p class="hint">Check the <a href="https://www.php.net/manual/en/function.finfo-open.php">Fileinfo functions</a> of your PHP installation.<br/>';
258257
echo 'The path to the magic.mime file can be set using the <tt>mime_magic</tt> config option in Roundcube.</p>';
259258
}
260259
}
@@ -267,9 +266,8 @@
267266
if ($errors = $RCI->check_mime_extensions()) {
268267
$RCI->fail('Mimetype to file extension mapping');
269268
echo '<p class="hint">Please set a valid path to your webserver\'s mime.types file to the <tt>mime_types</tt> config option.<br/>';
270-
echo 'If you can\'t find such a file, download it from <a href="http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types">svn.apache.org</a>.</p>';
271-
}
272-
else {
269+
echo 'If you can\'t find such a file, download it from <a href="https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types">svn.apache.org</a>.</p>';
270+
} else {
273271
$RCI->pass('Mimetype to file extension mapping');
274272
echo "<br/>";
275273
}

plugins/acl/acl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* GNU General Public License for more details.
1919
*
2020
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see http://www.gnu.org/licenses/.
21+
* along with this program. If not, see https://www.gnu.org/licenses/.
2222
*/
2323

2424
class acl extends rcube_plugin

plugins/additional_message_headers/additional_message_headers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* $config['additional_message_headers'] = ['User-Agent' => 'My-Very-Own-Webmail'];
1111
*
1212
* @author Ziba Scott
13-
* @website http://roundcube.net
13+
* @website https://roundcube.net
1414
*/
1515
class additional_message_headers extends rcube_plugin
1616
{

plugins/attachment_reminder/attachment_reminder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* GNU General Public License for more details.
2222
*
2323
* You should have received a copy of the GNU General Public License
24-
* along with this program. If not, see <http://www.gnu.org/licenses/>
24+
* along with this program. If not, see <https://www.gnu.org/licenses/>
2525
*/
2626

2727
class attachment_reminder extends rcube_plugin

plugins/debug_logger/debug_logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* log types and files.
1717
*
1818
* @author Ziba Scott
19-
* @website http://roundcube.net
19+
* @website https://roundcube.net
2020
*
2121
* Example:
2222
*

plugins/enigma/lib/enigma_subkey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function get_fingerprint()
5656
*/
5757
function get_algorithm()
5858
{
59-
// http://tools.ietf.org/html/rfc4880#section-9.1
59+
// https://datatracker.ietf.org/doc/html/rfc4880#section-9.1
6060
switch ($this->algorithm) {
6161
case 1:
6262
case 2:

0 commit comments

Comments
 (0)