mirror of
https://github.com/webmin/webmin.git
synced 2026-02-14 10:52:08 +00:00
@@ -10,7 +10,7 @@ $ENV{'PATH_INFO'} =~ /^\/(http|https):\/+([^:\/]+)(:(\d+))?(.*)$/ ||
|
||||
$protocol = $1;
|
||||
$ssl = $protocol eq "https";
|
||||
$host = $2;
|
||||
$port = $4 || 80;
|
||||
$port = $4 || ( !$ssl ? 80 : 443 );
|
||||
$path = $5 || "/";
|
||||
$openurl = "$1://$2$3$5";
|
||||
$baseurl = "$1://$2$3";
|
||||
|
||||
Reference in New Issue
Block a user