Update links in comments and config to https where available (#9759)

This commit is contained in:
Philip Weir
2025-01-26 12:34:57 +00:00
committed by GitHub
parent 2f051c0154
commit ccede1f272
70 changed files with 124 additions and 124 deletions

View File

@@ -26,7 +26,7 @@ $config = [];
// Database connection string (DSN) for read+write operations
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
// Currently supported db_providers: mysql, pgsql, sqlite
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// For examples see https://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// Note: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
// or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
// Note: Various drivers support various additional arguments for connection,
@@ -44,7 +44,7 @@ $config['db_dsnw_noread'] = false;
// use persistent db-connections
// beware this will not "always" work as expected
// see: http://www.php.net/manual/en/features.persistent-connections.php
// see: https://www.php.net/manual/en/features.persistent-connections.php
$config['db_persistent'] = false;
// you can define specific table (and sequence) names prefix
@@ -74,7 +74,7 @@ $config['db_max_allowed_packet'] = null;
$config['log_driver'] = 'file';
// date format for log entries
// (read http://php.net/manual/en/function.date.php for all format characters)
// (read https://php.net/manual/en/function.date.php for all format characters)
$config['log_date_format'] = 'd-M-Y H:i:s O';
// length of the session ID to prepend each log line with
@@ -88,7 +88,7 @@ $config['log_file_ext'] = '.log';
$config['syslog_id'] = 'roundcube';
// Syslog facility to use, if using the 'syslog' log driver.
// For possible values see installer or http://php.net/manual/en/function.openlog.php
// For possible values see installer or https://php.net/manual/en/function.openlog.php
$config['syslog_facility'] = \LOG_USER;
// Activate this option if logs should be written to per-user directories.
@@ -150,11 +150,11 @@ $config['imap_host'] = 'localhost:143';
$config['imap_auth_type'] = null;
// IMAP socket context options
// See http://php.net/manual/en/context.ssl.php
// See https://php.net/manual/en/context.ssl.php
// The example below enables server certificate validation
//
// proxy_protocol is used to inject HAproxy style headers in the TCP stream
// See http://www.haproxy.org/download/1.6/doc/proxy-protocol.txt
// See https://www.haproxy.org/download/1.6/doc/proxy-protocol.txt
// WARNING: Please note this is currently incompatible with implicit ssl,
// since the proxy protocol preamble is expected before the ssl handshake.
// $config['imap_conn_options'] = [
@@ -313,7 +313,7 @@ $config['smtp_helo_host'] = '';
$config['smtp_timeout'] = 0;
// SMTP socket context options
// See http://php.net/manual/en/context.ssl.php
// See https://php.net/manual/en/context.ssl.php
// The example below enables server certificate validation, and
// requires 'smtp_timeout' to be non zero.
// $config['smtp_conn_options'] = [
@@ -376,7 +376,7 @@ $config['oauth_logout_uri'] = null;
$config['oauth_timeout'] = 10;
// Optional: disable SSL certificate check on HTTP requests to OAuth server
// See http://docs.guzzlephp.org/en/stable/request-options.html#verify for possible values
// See https://docs.guzzlephp.org/en/stable/request-options.html#verify for possible values
$config['oauth_verify_peer'] = true;
// Mandatory: OAuth scopes to request (space-separated string)
@@ -474,16 +474,16 @@ $config['ldap_cache_ttl'] = '10m';
$config['memcache_hosts'] = null;
// Controls the use of a persistent connections to memcache servers
// See http://php.net/manual/en/memcache.addserver.php
// See https://php.net/manual/en/memcache.addserver.php
$config['memcache_pconnect'] = true;
// Value in seconds which will be used for connecting to the daemon
// See http://php.net/manual/en/memcache.addserver.php
// See https://php.net/manual/en/memcache.addserver.php
$config['memcache_timeout'] = 1;
// Controls how often a failed server will be retried (value in seconds).
// Setting this parameter to -1 disables automatic retry.
// See http://php.net/manual/en/memcache.addserver.php
// See https://php.net/manual/en/memcache.addserver.php
$config['memcache_retry_interval'] = 15;
// Use these hosts for accessing Redis.
@@ -825,7 +825,7 @@ $config['mime_magic'] = null;
// Absolute path to a local mime.types mapping table file.
// This is used to derive mime-types from the filename extension or vice versa.
// Such a file is usually part of the apache webserver. If you don't find a file named mime.types on your system,
// download it from http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
// download it from https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
$config['mime_types'] = null;
// path to imagemagick identify binary (if not set we'll use Imagick or GD extensions)
@@ -992,16 +992,16 @@ $config['spellcheck_dictionary'] = false;
// - 'googie' - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting)
// - 'pspell' - requires the PHP Pspell module and aspell installed
// - 'enchant' - requires the PHP Enchant module
// - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
// - 'atd' - install your own After the Deadline server or check with the people at https://www.afterthedeadline.com before using their API
// Since Google shut down their public spell checking service, the default settings
// connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
// connect to https://spell.roundcube.net which is a hosted service provided by Roundcube.
// You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
$config['spellcheck_engine'] = 'googie';
// For locally installed Nox Spell Server or After the Deadline services,
// please specify the URI to call it.
// Get Nox Spell Server from http://orangoo.com/labs/?page_id=72 or
// the After the Deadline package from http://www.afterthedeadline.com.
// the After the Deadline package from https://www.afterthedeadline.com.
// Leave empty to use the public API of service.afterthedeadline.com
$config['spellcheck_uri'] = '';

View File

@@ -29,7 +29,7 @@
| GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program. If not, see http://www.gnu.org/licenses/. |
| along with this program. If not, see https://www.gnu.org/licenses/. |
| |
+-------------------------------------------------------------------------+
| Author: Thomas Bruederli <roundcube@gmail.com> |

View File

@@ -491,7 +491,7 @@ echo $input_locale->show($RCI->getprop('language'));
?>
<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>
<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>
<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>
</dd>
<dt class="propname">skin <span class="userconf">*</span></dt>

View File

@@ -29,7 +29,7 @@
| GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program. If not, see http://www.gnu.org/licenses/. |
| along with this program. If not, see https://www.gnu.org/licenses/. |
| |
+-------------------------------------------------------------------------+
| Author: Thomas Bruederli <roundcube@gmail.com> |
@@ -105,7 +105,7 @@ if ($RCI->configured && empty($_REQUEST['_step'])) {
<div id="banner">
<div class="banner-bg"></div>
<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>
<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>
</div>
<div id="topnav">

View File

@@ -230,7 +230,7 @@ if ($errors = $RCI->check_mime_detection()) {
if (!empty($RCI->config['mime_magic'])) {
echo '<p class="hint">Try setting the <tt>mime_magic</tt> config option to <tt>null</tt>.</p>';
} else {
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/>';
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/>';
echo 'The path to the magic.mime file can be set using the <tt>mime_magic</tt> config option in Roundcube.</p>';
}
} else {
@@ -241,7 +241,7 @@ if ($errors = $RCI->check_mime_detection()) {
if ($errors = $RCI->check_mime_extensions()) {
$RCI->fail('Mimetype to file extension mapping');
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/>';
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>';
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>';
} else {
$RCI->pass('Mimetype to file extension mapping');
echo '<br/>';

View File

@@ -18,7 +18,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class acl extends rcube_plugin

View File

@@ -11,7 +11,7 @@
*
* @author Ziba Scott
*
* @website http://roundcube.net
* @website https://roundcube.net
*/
class additional_message_headers extends rcube_plugin
{

View File

@@ -22,7 +22,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
class attachment_reminder extends rcube_plugin

View File

@@ -17,7 +17,7 @@
*
* @author Ziba Scott
*
* @website http://roundcube.net
* @website https://roundcube.net
*
* Example:
*

View File

@@ -55,7 +55,7 @@ class enigma_subkey
*/
public function get_algorithm()
{
// http://tools.ietf.org/html/rfc4880#section-9.1
// https://datatracker.ietf.org/doc/html/rfc4880#section-9.1
switch ($this->algorithm) {
case 1:
case 2:

View File

@@ -131,12 +131,12 @@ class help extends rcube_plugin
if (is_readable($this->home . '/content/license.html')) {
$content['license'] = 'self';
} else {
$content['license'] = $rcmail->config->get('help_license_url', 'http://www.gnu.org/licenses/gpl-3.0-standalone.html');
$content['license'] = $rcmail->config->get('help_license_url', 'https://www.gnu.org/licenses/gpl-3.0-standalone.html');
$content['license'] = $this->resolve_language($content['license']);
}
// Help Index
$src = $rcmail->config->get('help_source', 'http://docs.roundcube.net/doc/help/1.1/%l/');
$src = $rcmail->config->get('help_source', 'https://docs.roundcube.net/doc/help/1.1/%l/');
$index_map = $rcmail->config->get('help_index_map', []);
// resolve task/action for deep linking

View File

@@ -31,6 +31,6 @@ class HelpTest extends TestCase
$this->assertCount(3, $result);
$this->assertMatchesRegularExpression('|\?_task=settings&_action=about&_framed=1$|', $result['about']);
$this->assertSame('self', $result['license']);
$this->assertSame('http://docs.roundcube.net/doc/help/1.1/en_US/', $result['index']);
$this->assertSame('https://docs.roundcube.net/doc/help/1.1/en_US/', $result['index']);
}
}

View File

@@ -15,7 +15,7 @@
* @license GNU GPLv3+
* @author Aleksander Machniak <alec@alec.pl>
*
* @website http://roundcube.net
* @website https://roundcube.net
*/
class identicon extends rcube_plugin
{

View File

@@ -17,7 +17,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
// Managesieve Protocol: RFC5804

View File

@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_sieve_engine

View File

@@ -18,7 +18,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_sieve_forward extends rcube_sieve_engine

View File

@@ -17,7 +17,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_sieve_script

View File

@@ -18,7 +18,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_sieve_vacation extends rcube_sieve_engine

View File

@@ -25,7 +25,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class managesieve extends rcube_plugin

View File

@@ -25,7 +25,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Roundcube. If not, see http://www.gnu.org/licenses/.
* along with Roundcube. If not, see https://www.gnu.org/licenses/.
*/
class markasjunk_jsevent

View File

@@ -23,7 +23,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class newmail_notifier extends rcube_plugin

View File

@@ -25,7 +25,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_chpasswd_password

View File

@@ -22,7 +22,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_cpanel_password

View File

@@ -27,7 +27,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_dbmail_password

View File

@@ -24,7 +24,7 @@ use GuzzleHttp\Psr7\Query;
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_directadmin_password

View File

@@ -4,13 +4,13 @@
* domainFACTORY Password Driver
*
* Driver to change passwords with the hosting provider domainFACTORY.
* http://www.df.eu/
* https://www.df.eu/
*
* @version 2.1
*
* @author Till Krüss <me@tillkruess.com>
*
* @see http://tillkruess.com/projects/roundcube/
* @see https://tillkruess.com/projects/roundcube/
*
* Copyright (C) The Roundcube Dev Team
*
@@ -25,7 +25,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_domainfactory_password

View File

@@ -10,7 +10,7 @@
*
* $config['password_dovecot_passwdfile_path']: The path of your dovecot passwd-file '/path/to/filename'
* $config['password_dovecotpw']: Full path and 'pw' command of doveadm binary - like '/usr/local/bin/doveadm pw'
* $config['password_dovecotpw_method']: Dovecot hashing algo (http://wiki2.dovecot.org/Authentication/PasswordSchemes)
* $config['password_dovecotpw_method']: Dovecot hashing algo (https://doc.dovecot.org/2.3/configuration_manual/authentication/password_schemes/#authentication-password-schemes)
* $config['password_dovecotpw_with_method']: True if you want the hashing algo as prefix in your passwd-file
*
* @version 1.1
@@ -29,7 +29,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_dovecot_passwdfile_password

View File

@@ -38,7 +38,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_expect_password

View File

@@ -23,7 +23,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_gearman_password

View File

@@ -20,7 +20,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_hmail_password

View File

@@ -28,7 +28,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_httpapi_password

View File

@@ -4,7 +4,7 @@
* LDAP Password Driver
*
* Driver for passwords stored in LDAP
* This driver use the PEAR Net_LDAP2 class (http://pear.php.net/package/Net_LDAP2).
* This driver use the PEAR Net_LDAP2 class (https://pear.php.net/package/Net_LDAP2).
*
* @version 2.0
*
@@ -26,7 +26,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_ldap_password

View File

@@ -24,7 +24,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
require_once __DIR__ . '/ldap_simple.php';

View File

@@ -24,7 +24,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
require_once __DIR__ . '/ldap_simple.php';

View File

@@ -25,7 +25,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_ldap_simple_password

View File

@@ -17,7 +17,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*
* It is necessary to set the following variables in plugin/password/config.inc.php
* $config['password_driver'] = 'mailcow';

View File

@@ -30,7 +30,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_miab_password

View File

@@ -23,7 +23,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*
* The driver need modoboa core 1.10.6 or later
*

View File

@@ -20,7 +20,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_pam_password

View File

@@ -27,7 +27,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
/**

View File

@@ -22,7 +22,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_poppassd_password

View File

@@ -26,7 +26,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_pw_usermod_password

View File

@@ -51,7 +51,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_pwned_password

View File

@@ -29,7 +29,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_sasl_password

View File

@@ -34,7 +34,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_smb_password

View File

@@ -22,7 +22,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_sql_password
{

View File

@@ -27,7 +27,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_virtualmin_password

View File

@@ -22,7 +22,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_vpopmaild_password

View File

@@ -29,7 +29,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_ximss_password

View File

@@ -30,7 +30,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_xmail_password

View File

@@ -24,7 +24,7 @@ use ZxcvbnPhp\Zxcvbn;
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
class rcube_zxcvbn_password

View File

@@ -20,7 +20,7 @@ use GuzzleHttp\Client;
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
define('PASSWORD_CRYPT_ERROR', 1);

View File

@@ -43,7 +43,7 @@ class rcmail_action_settings_about extends rcmail_action
},
'license' => static function () {
return 'This program is free software; you can redistribute it and/or modify it under the terms '
. 'of the <a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a> '
. 'of the <a href="https://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a> '
. 'as published by the Free Software Foundation, either version 3 of the License, '
. 'or (at your option) any later version.<br/>'
. 'Some <a href="https://roundcube.net/license" target="_blank">exceptions</a> '

View File

@@ -207,7 +207,7 @@ class rcmail extends rcube
setlocale(\LC_ALL, $lang . '.utf8', $lang . '.UTF-8', 'en_US.utf8', 'en_US.UTF-8');
ini_set('intl.default_locale', $lang);
// Workaround for http://bugs.php.net/bug.php?id=18556
// Workaround for https://bugs.php.net/bug.php?id=18556
// Also strtoupper/strtolower and other methods are locale-aware
// for these locales it is problematic (#1490519)
if (in_array($lang, ['tr_TR', 'ku', 'az_AZ'])) {

View File

@@ -737,7 +737,7 @@ class rcmail_output_html extends rcmail_output
* @param bool $exit Exit script
* @param bool $write Don't write to stdout, return parsed content instead
*
* @see http://php.net/manual/en/function.exit.php
* @see https://php.net/manual/en/function.exit.php
*/
public function parse($name = 'main', $exit = true, $write = true)
{

View File

@@ -431,7 +431,7 @@ rcube_event_engine.prototype = {
// check if input is a valid email address
// By Cal Henderson <cal@iamcal.com>
// http://code.iamcal.com/php/rfc822/
// https://code.iamcal.com/php/rfc822/
function rcube_check_email(input, inline, count, strict) {
if (!input) {
return count ? 0 : false;
@@ -695,7 +695,7 @@ var rcube_parse_query = function (query) {
};
// Base64 code from Tyler Akins -- http://rumkin.com
// Base64 code from Tyler Akins -- https://rumkin.com
var Base64 = (function () {
var keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';

View File

@@ -588,7 +588,7 @@ class rcube_charset
}
// No match, check for UTF-8
// from http://w3.org/International/questions/qa-forms-utf-8.html
// from https://w3.org/International/questions/qa-forms-utf-8.html
if (preg_match('/\A(
[\x09\x0A\x0D\x20-\x7E]
| [\xC2-\xDF][\x80-\xBF]

View File

@@ -803,7 +803,7 @@ class rcube_config
*/
public static function resolve_timezone_alias($tzname)
{
// http://www.php.net/manual/en/timezones.others.php
// https://www.php.net/manual/en/timezones.others.php
// https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
$deprecated_timezones = [
'Australia/ACT' => 'Australia/Sydney',

View File

@@ -161,7 +161,7 @@ class rcube_db
try {
// with this check we skip fatal error on PDO object creation
if (!class_exists('PDO', false)) {
throw new Exception('PDO extension not loaded. See http://php.net/manual/en/intro.pdo.php');
throw new Exception('PDO extension not loaded. See https://php.net/manual/en/intro.pdo.php');
}
$this->conn_prepare($dsn);

View File

@@ -23,12 +23,12 @@
/**
* Takes HTML and converts it to formatted, plain text.
*
* Thanks to Alexander Krug (http://www.krugar.de/) to pointing out and
* Thanks to Alexander Krug (https://www.krugar.de/) to pointing out and
* correcting an error in the regexp search array. Fixed 7/30/03.
*
* Updated set_html() function's file reading mechanism, 9/25/03.
*
* Thanks to Joss Sanglier (http://www.dancingbear.co.uk/) for adding
* Thanks to Joss Sanglier (https://www.dancingbear.co.uk/) for adding
* several more HTML entity codes to the $search and $replace arrays.
* Updated 11/7/03.
*
@@ -46,7 +46,7 @@
* rendered email address.
* Updated 12/16/04.
*
* Thanks to Wojciech Bajon (http://histeria.pl/) for submitting code
* Thanks to Wojciech Bajon (https://histeria.pl/) for submitting code
* to handle relative links, which I hadn't considered. I modified his
* code a bit to handle normal HTTP links and MAILTO links. Also for
* suggesting three additional HTML entity codes to search for.
@@ -56,7 +56,7 @@
* for the _build_link_list() function: "https".
* Updated 04/06/05.
*
* Thanks to Marc Bertrand (http://www.dresdensky.com/) for
* Thanks to Marc Bertrand (https://www.dresdensky.com/) for
* suggesting a revision to the word wrapping functionality; if you
* specify a $width of 0 or less, word wrapping will be ignored.
* Updated 11/02/06.
@@ -68,8 +68,8 @@
* Christian Basedau (http://www.movetheweb.de/) also suggested the
* blank lines fix.
*
* Special thanks to Marcus Bointon (http://www.synchromedia.co.uk/),
* Christian Basedau, Norbert Laposa (http://ln5.co.uk/),
* Special thanks to Marcus Bointon (https://www.synchromedia.co.uk/),
* Christian Basedau, Norbert Laposa (https://norbertlaposa.com/),
* Bas van de Weijer, and Marijn van Butselaar
* for pointing out my glaring error in the <th> handling. Marcus also
* supplied a host of fixes.
@@ -78,7 +78,7 @@
* out that extra spaces should be compressed--a problem addressed with
* Marcus Bointon's fixes but that I had not yet incorporated.
*
* Thanks to Daniel Schledermann (http://www.typoconsult.dk/) for
* Thanks to Daniel Schledermann (https://www.typoconsult.dk/) for
* suggesting a valuable fix with <a> tag handling.
*
* Thanks to Wojciech Bajon (again!) for suggesting fixes and additions,

View File

@@ -300,7 +300,7 @@ class rcube_ldap extends rcube_addressbook
// try to connect + bind for every host configured
// with OpenLDAP 2.x ldap_connect() always succeeds but ldap_bind will fail if host isn't reachable
// see http://www.php.net/manual/en/function.ldap-connect.php
// see https://www.php.net/manual/en/function.ldap-connect.php
foreach ((array) $this->prop['hosts'] as $host) {
// Parse host specification into the format expected by Net_LDAP3 (ldap_connect)
[$host, $scheme, $port] = rcube_utils::parse_host_uri($host, 389, 636);

View File

@@ -712,8 +712,8 @@ class rcube_mime
*
* @author Till Klampaeckel <till@php.net>
*
* @see http://de2.php.net/manual/en/ref.fileinfo.php
* @see http://de2.php.net/mime_content_type
* @see https://www.php.net/manual/en/ref.fileinfo.php
* @see https://www.php.net/mime_content_type
*/
public static function file_content_type($path, $name, $failover = 'application/octet-stream', $is_stream = false, $skip_suffix = false)
{

View File

@@ -104,7 +104,7 @@ abstract class rcube_plugin
* - name: The plugin name
* - vendor: Name of the plugin developer
* - version: Plugin version name
* - license: License name (short form according to http://spdx.org/licenses/)
* - license: License name (short form according to https://spdx.org/licenses/)
* - uri: The URL to the plugin homepage or source repository
* - src_uri: Direct download URL to the source code of this plugin
* - require: List of plugins required for this one (as array of plugin names)

View File

@@ -265,31 +265,31 @@ class rcube_plugin_api
public function get_info($plugin_name)
{
static $composer_lock, $license_uris = [
'Apache' => 'http://www.apache.org/licenses/LICENSE-2.0.html',
'Apache-2' => 'http://www.apache.org/licenses/LICENSE-2.0.html',
'Apache-1' => 'http://www.apache.org/licenses/LICENSE-1.0',
'Apache-1.1' => 'http://www.apache.org/licenses/LICENSE-1.1',
'GPL' => 'http://www.gnu.org/licenses/gpl.html',
'GPL-2.0' => 'http://www.gnu.org/licenses/gpl-2.0.html',
'GPL-2.0+' => 'http://www.gnu.org/licenses/gpl.html',
'GPL-3.0' => 'http://www.gnu.org/licenses/gpl-3.0.html',
'GPL-3.0+' => 'http://www.gnu.org/licenses/gpl.html',
'AGPL-3.0' => 'http://www.gnu.org/licenses/agpl.html',
'AGPL-3.0+' => 'http://www.gnu.org/licenses/agpl.html',
'LGPL' => 'http://www.gnu.org/licenses/lgpl.html',
'LGPL-2.0' => 'http://www.gnu.org/licenses/lgpl-2.0.html',
'LGPL-2.1' => 'http://www.gnu.org/licenses/lgpl-2.1.html',
'LGPL-3.0' => 'http://www.gnu.org/licenses/lgpl.html',
'LGPL-3.0+' => 'http://www.gnu.org/licenses/lgpl.html',
'BSD' => 'http://opensource.org/licenses/bsd-license.html',
'BSD-2-Clause' => 'http://opensource.org/licenses/BSD-2-Clause',
'BSD-3-Clause' => 'http://opensource.org/licenses/BSD-3-Clause',
'FreeBSD' => 'http://opensource.org/licenses/BSD-2-Clause',
'MIT' => 'http://www.opensource.org/licenses/mit-license.php',
'PHP' => 'http://opensource.org/licenses/PHP-3.0',
'PHP-3' => 'http://www.php.net/license/3_01.txt',
'PHP-3.0' => 'http://www.php.net/license/3_0.txt',
'PHP-3.01' => 'http://www.php.net/license/3_01.txt',
'Apache' => 'https://www.apache.org/licenses/LICENSE-2.0.html',
'Apache-2' => 'https://www.apache.org/licenses/LICENSE-2.0.html',
'Apache-1' => 'https://www.apache.org/licenses/LICENSE-1.0',
'Apache-1.1' => 'https://www.apache.org/licenses/LICENSE-1.1',
'GPL' => 'https://www.gnu.org/licenses/gpl.html',
'GPL-2.0' => 'https://www.gnu.org/licenses/gpl-2.0.html',
'GPL-2.0+' => 'https://www.gnu.org/licenses/gpl.html',
'GPL-3.0' => 'https://www.gnu.org/licenses/gpl-3.0.html',
'GPL-3.0+' => 'https://www.gnu.org/licenses/gpl.html',
'AGPL-3.0' => 'https://www.gnu.org/licenses/agpl.html',
'AGPL-3.0+' => 'https://www.gnu.org/licenses/agpl.html',
'LGPL' => 'https://www.gnu.org/licenses/lgpl.html',
'LGPL-2.0' => 'https://www.gnu.org/licenses/lgpl-2.0.html',
'LGPL-2.1' => 'https://www.gnu.org/licenses/lgpl-2.1.html',
'LGPL-3.0' => 'https://www.gnu.org/licenses/lgpl.html',
'LGPL-3.0+' => 'https://www.gnu.org/licenses/lgpl.html',
'BSD' => 'https://opensource.org/licenses/bsd-license.html',
'BSD-2-Clause' => 'https://opensource.org/licenses/BSD-2-Clause',
'BSD-3-Clause' => 'https://opensource.org/licenses/BSD-3-Clause',
'FreeBSD' => 'https://opensource.org/licenses/BSD-2-Clause',
'MIT' => 'https://www.opensource.org/licenses/mit-license.php',
'PHP' => 'https://opensource.org/licenses/PHP-3.0',
'PHP-3' => 'https://www.php.net/license/3_01.txt',
'PHP-3.0' => 'https://www.php.net/license/3_0.txt',
'PHP-3.01' => 'https://www.php.net/license/3_01.txt',
];
$dir = dir($this->dir);

View File

@@ -577,8 +577,8 @@ class rcube_result_thread
protected function parse_thread($str, $begin = 0, $end = 0, $depth = 0)
{
// Don't be tempted to change $str to pass by reference to speed this up - it will slow it down by about
// 7 times instead :-) See comments on http://uk2.php.net/references and this article:
// http://derickrethans.nl/files/phparch-php-variables-article.pdf
// 7 times instead :-) See comments on https://www.php.net/references and this article:
// https://derickrethans.nl/files/phparch-php-variables-article.pdf
$node = '';
if (!$end) {
$end = strlen($str);

View File

@@ -512,7 +512,7 @@ abstract class rcube_session implements SessionHandlerInterface
/**
* Unserialize session data
* http://www.php.net/manual/en/function.session-decode.php#56106
* https://www.php.net/manual/en/function.session-decode.php#56106
*
* @param string $str Serialized data string
*

View File

@@ -8,7 +8,7 @@ use RtfHtmlPhp\Html\HtmlFormatter;
| This file is part of the Roundcube Webmail client |
| |
| Copyright (C) The Roundcube Dev Team |
| Copyright (C) 2002-2010, The Horde Project (http://www.horde.org/) |
| Copyright (C) 2002-2010, The Horde Project (https://www.horde.org/) |
| |
| Licensed under the GNU General Public License version 3 or |
| any later version with exceptions for skins & plugins. |

View File

@@ -1768,7 +1768,7 @@ class rcube_utils
* Generates the HAproxy style PROXY protocol header for injection
* into the TCP stream, if configured.
*
* http://www.haproxy.org/download/1.6/doc/proxy-protocol.txt
* https://www.haproxy.org/download/1.6/doc/proxy-protocol.txt
*
* PROXY protocol headers must be sent before any other data is sent on the TCP socket.
*

View File

@@ -19,7 +19,7 @@
/**
* Spellchecking backend implementation to work with an After the Deadline service
* See http://www.afterthedeadline.com/ for more information
* See https://www.afterthedeadline.com/ for more information
*/
class rcube_spellchecker_atd extends rcube_spellchecker_engine
{

View File

@@ -6,7 +6,7 @@
* The contents are subject to the Creative Commons Attribution-ShareAlike
* License. It is allowed to copy, distribute, transmit and to adapt the work
* by keeping credits to the original autors in the README file.
* See http://creativecommons.org/licenses/by-sa/3.0/ for details.
* See https://creativecommons.org/licenses/by-sa/3.0/ for details.
*
* @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
*/