Fix to normalize URLs (more)
https://github.com/webmin/webmin/issues/2663
This commit is contained in:
+4
-4
@@ -26,11 +26,11 @@ Perl 5.10 或更高。
|
||||
## 安装
|
||||
Webmin 可以两种方法安装:
|
||||
|
||||
1. 下载一个预编译包,可用于不同的发行版(CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris 和 [其他发行版](http://www.webmin.com/support.html))。[下载页面直达车](http://webmin.com/download.html);
|
||||
1. 下载一个预编译包,可用于不同的发行版(CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris 和 [其他发行版](https://webmin.com/support.html))。[下载页面直达车](http://webmin.com/download.html);
|
||||
<kbd>注:非常建议[在你的系统添加源](https://doxfer.webmin.com/Webmin/Installation),这样可以自动更新</kbd>
|
||||
|
||||
2. 下载并解压[源码](https://prdownloads.sourceforge.net/webadmin/webmin-1.996.tar.gz)然后运行[_setup.sh_](http://www.webmin.com/tgz.html) 脚本,无需任何选项,也就是说会直接安装到当前目录。或者使用命令行参数,例如目标目录。
|
||||
<kbd>注:如果你正在安装 Webmin [到Windows](http://www.webmin.com/windows.html) 系统上,你必须运行 `perl setup.pl` 命令。Windows 版能否正常运行取决于许多程序,和可能不属于标准发行版的模块。你需要 _process.exe_ 命令, _sc.exe_ 命令,以及 _Win32::Daemon_ Perl 模块。</kbd>
|
||||
2. 下载并解压[源码](https://prdownloads.sourceforge.net/webadmin/webmin-1.996.tar.gz)然后运行[_setup.sh_](https://webmin.com/tgz.html) 脚本,无需任何选项,也就是说会直接安装到当前目录。或者使用命令行参数,例如目标目录。
|
||||
<kbd>注:如果你正在安装 Webmin [到Windows](https://webmin.com/windows.html) 系统上,你必须运行 `perl setup.pl` 命令。Windows 版能否正常运行取决于许多程序,和可能不属于标准发行版的模块。你需要 _process.exe_ 命令, _sc.exe_ 命令,以及 _Win32::Daemon_ Perl 模块。</kbd>
|
||||
|
||||
## 文档
|
||||
完整的 Webmin 还有它所有模块的详细配置都在[维基页面](https://doxfer.webmin.com/Webmin/Main_Page).
|
||||
@@ -39,7 +39,7 @@ Webmin 可以两种方法安装:
|
||||
|
||||
### 首席开发者
|
||||
|
||||
* [Jamie Cameron](http://www.webmin.com/about.html) [](https://www.linkedin.com/in/jamiecameron2)
|
||||
* [Jamie Cameron](https://webmin.com/about.html) [](https://www.linkedin.com/in/jamiecameron2)
|
||||
|
||||
### 贡献者
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ For detailed installation instructions check our guide on [webmin.com/download](
|
||||
|
||||
### Lead developer
|
||||
|
||||
* [Jamie Cameron](https://www.webmin.com/about.html) [](https://www.linkedin.com/in/jamiecameron2)
|
||||
* [Jamie Cameron](https://webmin.com/about.html) [](https://www.linkedin.com/in/jamiecameron2)
|
||||
|
||||
### Developers
|
||||
* [Ilia Rostovtsev](https://github.com/iliaross)
|
||||
|
||||
@@ -32,7 +32,7 @@ elsif ($in{'source'} == 1) {
|
||||
close(MOD);
|
||||
}
|
||||
elsif ($in{'source'} == 2) {
|
||||
# find latest version at www.webmin.com by looking at index page
|
||||
# find latest version at webmin.com by looking at index page
|
||||
&error_setup($webmin::text{'upgrade_err3'});
|
||||
($ok, $site_version) = &webmin::get_latest_webmin_version();
|
||||
$ok || &inst_error($site_version);
|
||||
|
||||
@@ -52,7 +52,7 @@ else {
|
||||
"<a href=$tconfig{'brand_url'}>$tconfig{'brand'}</a>" :
|
||||
$gconfig{'brand'} ?
|
||||
"<a href=$gconfig{'brand_url'}>$gconfig{'brand'}</a>" :
|
||||
"<a href=http://www.webmin.com/>$text{'main_homepage'}</a>"
|
||||
"<a href=https://webmin.com>$text{'main_homepage'}</a>"
|
||||
);
|
||||
print "<center><font size=+1>",
|
||||
&text('main_version', $ver, $hostname, $ostr),"</font></center>\n"
|
||||
|
||||
+1
-1
@@ -152,7 +152,7 @@ print COPY <<EOF;
|
||||
This package was debianized by Jamie Cameron <jcameron\@webmin.com> on
|
||||
$nowstr.
|
||||
|
||||
It was downloaded from: http://www.webmin.com/
|
||||
It was downloaded from: https://webmin.com
|
||||
|
||||
Upstream author: Jamie Cameron <jcameron\@webmin.com>
|
||||
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ Recommends: perl(DateTime) perl(DateTime::TimeZone) perl(DateTime::Locale) perl(
|
||||
AutoReq: 0
|
||||
License: BSD-3-Clause
|
||||
Group: System/Tools
|
||||
Source: http://www.webmin.com/download/$tarfile
|
||||
Source: https://webmin.com/download/$tarfile
|
||||
Vendor: $rpm_maintainer
|
||||
BuildRoot: /tmp/%{name}-%{version}
|
||||
BuildArchitectures: noarch
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:: (c) gnadelwartz https:://gitbub.com/gnadelwartz
|
||||
ECHO UNOFFICIAL helper script to guide less experienced users on Windows
|
||||
ECHO for information on installing webmin on Windows manually see:
|
||||
ECHO http://www.webmin.com/windows.html
|
||||
ECHO https://webmin.com/windows.html
|
||||
ECHO .
|
||||
ECHO NOTE: Webmin on Windows is community provided and not supported officially!
|
||||
ECHO last reported working insallations was on Windows 8.1
|
||||
@@ -99,7 +99,7 @@ IF EXIST %INSTALL% (
|
||||
perl %INSTALL% %wa_dir%
|
||||
) ELSE (
|
||||
ECHO Webmin can not installed because of missing prerequisites!
|
||||
ECHO see http://www.webmin.com/windows.html for manual installation instructions
|
||||
ECHO see https://webmin.com/windows.html for manual installation instructions
|
||||
ECHO .
|
||||
ECHO If you are able to improve/fix installation on newer Windows Versions report them pls
|
||||
)
|
||||
|
||||
@@ -13,7 +13,7 @@ IMPORTS
|
||||
|
||||
Webmin MODULE-IDENTITY
|
||||
LAST-UPDATED "200412220000Z"
|
||||
ORGANIZATION "www.webmin.com"
|
||||
ORGANIZATION "webmin.com"
|
||||
CONTACT-INFO
|
||||
"postal: Wes Hardaker
|
||||
P.O. Box 382
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ print &text('update_none'),"<br>\n" if (!$count);
|
||||
|
||||
# Check if a new version of webmin itself is available
|
||||
$file = &transname();
|
||||
&http_download('www.webmin.com', 80, '/index6.html', $file);
|
||||
&http_download('webmin.com', 80, '/index6.html', $file);
|
||||
open(FILE, "<$file");
|
||||
while(<FILE>) {
|
||||
if (/usermin-([0-9\.]+)\.tar\.gz/) {
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ foreach $u (@updates) {
|
||||
|
||||
# Check if a new version of usermin itself is available
|
||||
$file = &transname();
|
||||
&http_download('www.webmin.com', 80, '/index6.html', $file);
|
||||
&http_download('webmin.com', 80, '/index6.html', $file);
|
||||
open(FILE, "<".$file);
|
||||
while(<FILE>) {
|
||||
if (/usermin-([0-9\.]+)\.tar\.gz/) {
|
||||
|
||||
+2
-2
@@ -45,10 +45,10 @@ elsif ($in{'source'} == 1) {
|
||||
&close_tempfile(MOD);
|
||||
}
|
||||
elsif ($in{'source'} == 2) {
|
||||
# find latest version at www.webmin.com by looking at index page
|
||||
# find latest version at webmin.com by looking at index page
|
||||
&error_setup($text{'upgrade_err3'});
|
||||
$file = &transname();
|
||||
&http_download('www.webmin.com', 80, '/index6.html', $file, \$error);
|
||||
&http_download('webmin.com', 80, '/index6.html', $file, \$error);
|
||||
$error && &inst_error($error);
|
||||
open(FILE, "<$file");
|
||||
while(<FILE>) {
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
line1=Configurable options,11
|
||||
standard_url=URL of standard modules list,3,On www.webmin.com
|
||||
third_url=URL of third party modules list,3,On www.webmin.com
|
||||
standard_url=URL of standard modules list,3,On webmin.com
|
||||
third_url=URL of third party modules list,3,On webmin.com
|
||||
cron_mode=Show update times as,1,0-Simple interface,1-Cron time selector
|
||||
warn_days=Days before password expiry to warn users,0,5
|
||||
line2=Let's Encrypt configuration,11
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
standard_url=URL of standard modules list,3,On www.webmin.com
|
||||
third_url=URL of third party modules list,3,On www.webmin.com
|
||||
standard_url=URL of standard modules list,3,On webmin.com
|
||||
third_url=URL of third party modules list,3,On webmin.com
|
||||
cron_mode=عرض أوقات التحديث كـ,1,0-واجهة بسيطة,1-اختيار وقت Cron
|
||||
warn_days=أيام قبل انتهاء صلاحية كلمة المرور لتحذير المستخدمين,0,5
|
||||
letsencrypt_cmd=المسار الكامل لأمر تشفير العميل,0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
standard_url=URL de la llista de mòduls estàndard,3,A www.webmin.com
|
||||
third_url=URL de la llista de mòduls de tercers,3,A www.webmin.com
|
||||
standard_url=URL de la llista de mòduls estàndard,3,A webmin.com
|
||||
third_url=URL de la llista de mòduls de tercers,3,A webmin.com
|
||||
cron_mode=Mostra els temps d'actualització com,1,0-Interfície simple,1-Selector de temps cron
|
||||
warn_days=Dies abans de l'expiració de la contrasenya per avisar els usuaris,0,5
|
||||
letsencrypt_cmd=Camí complet de l'ordre client de Let's Encrypt,3,Troba'l automàticament
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
standard_url=URL seznamu standardních modulů,3,Na www.webmin.com
|
||||
third_url=URL seznamu modulů třetích stran,3,Na www.webmin.com
|
||||
standard_url=URL seznamu standardních modulů,3,Na webmin.com
|
||||
third_url=URL seznamu modulů třetích stran,3,Na webmin.com
|
||||
cron_mode=Zobrazit aktualizační časy jako,1,0-Jednoduché rozhraní,1-Výběr šasu jako u Cronu
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
standard_url=URL der Standardmodul-Liste,3,Von www.webmin.com
|
||||
third_url=URL der Drittanbieter-Webmin-Modulliste,3,Von www.webmin.com
|
||||
standard_url=URL der Standardmodul-Liste,3,Von webmin.com
|
||||
third_url=URL der Drittanbieter-Webmin-Modulliste,3,Von webmin.com
|
||||
cron_mode=Zeige Aktualisierungszeiten als,1,0-Einfache Anzeige,1-Cron-Zeit-Auswahl
|
||||
warn_days=Tage vor Ablauf des Passworts zu warnen an Benutzer,0,5
|
||||
letsencrypt_cmd=Voller Pfad zum Let's Encrypt Client-Befehl,0
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
standard_url=URL de lista de módulos estándar,3,En www.webmin.com
|
||||
third_url=URL de lista de módulos de terceros,3,En www.webmin.com
|
||||
standard_url=URL de lista de módulos estándar,3,En webmin.com
|
||||
third_url=URL de lista de módulos de terceros,3,En webmin.com
|
||||
cron_mode=Mostrar horas de actualización como,1,0-Interfaz simple,1-Selector horario de Cron
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
standard_url=URL ليست پيمانههاي استاندارد,3,در www.webmin.com
|
||||
third_url=URL ليست پيمانههاي بخش سوم,3,در www.webmin.com
|
||||
standard_url=URL ليست پيمانههاي استاندارد,3,در webmin.com
|
||||
third_url=URL ليست پيمانههاي بخش سوم,3,در webmin.com
|
||||
cron_mode=نمايش زمانهاي بهروزرساني در,1,0-واسط ساده,1-انتخاب کننده زمان cron
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
line1=Options configurables,11
|
||||
standard_url=URL de la liste des modules standard,3,www.webmin.com
|
||||
third_url=URL de la liste des modules non-standard,3,www.webmin.com
|
||||
standard_url=URL de la liste des modules standard,3,webmin.com
|
||||
third_url=URL de la liste des modules non-standard,3,webmin.com
|
||||
cron_mode=Afficher les heures de mise à jour comme,1,0-Interface simple,1-Sélecteur de temps Cron
|
||||
warn_days=Jours avant l'expiration du mot de passe pour avertir les utilisateurs,0,5
|
||||
line2=Let's Encrypt configuration,11
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
standard_url=URL per la lista dei moduli standard,3,Su www.webmin.com
|
||||
third_url=URL per la lista dei moduli di terze parti,3,Su www.webmin.com
|
||||
standard_url=URL per la lista dei moduli standard,3,Su webmin.com
|
||||
third_url=URL per la lista dei moduli di terze parti,3,Su webmin.com
|
||||
cron_mode=Mostra i tempi di aggiornamento come,1,0-Interfaccia semplice,1-Selettore del tempo di Cron
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
line1=基本設定,11
|
||||
standard_url=標準モジュールリストに使用する URL,3,www.webmin.com
|
||||
third_url=サードパーティ製モジュールリストに使用する URL,3,www.webmin.com
|
||||
standard_url=標準モジュールリストに使用する URL,3,webmin.com
|
||||
third_url=サードパーティ製モジュールリストに使用する URL,3,webmin.com
|
||||
cron_mode=アップデート時刻の表示方法,1,0-シンプル,1-Cron 選択方式
|
||||
warn_days=ユーザのパスワード期限切れの通知(日前),0,5
|
||||
line2=Let's Encrypt の設定,11
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
standard_url=표준 모듈 리스트 URL,3,www.webmin.com
|
||||
third_url=third party 모듈 리스트 URL,3,www.webmin.com
|
||||
standard_url=표준 모듈 리스트 URL,3,webmin.com
|
||||
third_url=third party 모듈 리스트 URL,3,webmin.com
|
||||
cron_mode=업데이트 시간 보기,1,0-간단한 인터페이스,1-Cron 시간 선택
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
standard_url=URL senarai modul piawai,3,di www.webmin.com
|
||||
third_url=URL senarai modul pihak ketiga,3,di www.webmin.com
|
||||
standard_url=URL senarai modul piawai,3,di webmin.com
|
||||
third_url=URL senarai modul pihak ketiga,3,di webmin.com
|
||||
cron_mode=Paparkan masa kemaskini sebagai,1,0-Antaramuka Mudah,1-masa terpilih Cron
|
||||
warn_days=Hari sebelum tamat kata laluan untuk memberi amaran kepada pengguna, 0,5
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
standard_url=URL voor lijst van standaard modules,3,Op www.webmin.com
|
||||
third_url=URL voor lijst van 3e partij modules,3,Op www.webmin.com
|
||||
standard_url=URL voor lijst van standaard modules,3,Op webmin.com
|
||||
third_url=URL voor lijst van 3e partij modules,3,Op webmin.com
|
||||
cron_mode=Update tijden weergeven als,1,0-Simpele interface,1-Cron tijd selectie
|
||||
warn_days=Dagen voordat het wachtwoord verloopt om gebruikers te waarschuwen,0,5
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
standard_url=URL til standard modulliste,3,På www.webmin.com
|
||||
third_url=URL til liste over tredjeparts moduler,3,På www.webmin.com
|
||||
standard_url=URL til standard modulliste,3,På webmin.com
|
||||
third_url=URL til liste over tredjeparts moduler,3,På webmin.com
|
||||
cron_mode=Vis oppdateringstidspunkt som,1,0-Enkelt grensesnitt,1-Cron tidsvelger
|
||||
warn_days=Dager før passord utløper at brukere skal gis melding,0,5
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
standard_url=URL listy modułów standardowych,3,www.webmin.com
|
||||
third_url=URL listy modułów osób trzecich,3,www.webmin.com
|
||||
standard_url=URL listy modułów standardowych,3,webmin.com
|
||||
third_url=URL listy modułów osób trzecich,3,webmin.com
|
||||
cron_mode=Pokazuj czasy aktualizacji jako,1,0-Prosty,1-Ustawienia czasu Crona
|
||||
warn_days=Na ile dni przed wygaśnięciem hasła ostrzegać użytkowników?,0,5
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
standard_url=URL da lista de módulos padrões,3,No www.webmin.com
|
||||
third_url=URL da lista de módulos de terceiros,3,No www.webmin.com
|
||||
standard_url=URL da lista de módulos padrões,3,No webmin.com
|
||||
third_url=URL da lista de módulos de terceiros,3,No webmin.com
|
||||
cron_mode=Exibir horas das atualizações como,1,0-Interface Simples,1-Seletor de hora do Cron
|
||||
warn_days=Dias antes de avisar usuários da expiração da senha,0,5
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
standard_url=URL списка стандартных модулей,3,На www.webmin.com
|
||||
third_url=URL списка сторонних модулей,3,На www.webmin.com
|
||||
standard_url=URL списка стандартных модулей,3,На webmin.com
|
||||
third_url=URL списка сторонних модулей,3,На webmin.com
|
||||
cron_mode=Задавать время в "Обновлении по расписанию" как,1,0-Простой интерфейс,1-Cron time selector
|
||||
warn_days=За сколько дней предупреждать пользователей об истечении срока действия пароля,0,5
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
standard_url=URL adresa štandardných modulov,3,na www.webmin.com
|
||||
third_url=URL adresa modulov tretích strán,3,na www.webmin.com
|
||||
standard_url=URL adresa štandardných modulov,3,na webmin.com
|
||||
third_url=URL adresa modulov tretích strán,3,na webmin.com
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
standard_url=URL för standardmodul-listan,3,På www.webmin.com
|
||||
third_url=URL för tredje parts moduler-lista,3,På www.webmin.com
|
||||
standard_url=URL för standardmodul-listan,3,På webmin.com
|
||||
third_url=URL för tredje parts moduler-lista,3,På webmin.com
|
||||
warn_days=Dagar före lösenord gått ut för att varna användare,0,5
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
standard_url=Standart modüllerin listesinin URL'si,3,www.webmin.com adresinde
|
||||
third_url=Üçüncü parti modül listesi URL'si,3,www.webmin.com adresinde
|
||||
standard_url=Standart modüllerin listesinin URL'si,3,webmin.com adresinde
|
||||
third_url=Üçüncü parti modül listesi URL'si,3,webmin.com adresinde
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ elsif ($in{'source'} == 1) {
|
||||
}
|
||||
}
|
||||
elsif ($in{'source'} == 2) {
|
||||
# find latest version at www.webmin.com by looking at index page
|
||||
# find latest version at webmin.com by looking at index page
|
||||
&error_setup($text{'upgrade_err3'});
|
||||
($ok, $version, $release) = &get_latest_webmin_version();
|
||||
$ok || &inst_error($version);
|
||||
|
||||
Reference in New Issue
Block a user