mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
#17951219 : Fixed a problem of getting uri occurred when using not-default port of ssl(443) or http(80)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
82bf0f7c72
commit
43f9ba9aaa
1 changed files with 8 additions and 0 deletions
|
|
@ -922,10 +922,18 @@
|
|||
if(Context::get("_https_port") && Context::get("_https_port") != 443) {
|
||||
$url_info['port'] = Context::get("_https_port");
|
||||
}
|
||||
else
|
||||
{
|
||||
unset($url_info['port']);
|
||||
}
|
||||
} else {
|
||||
if(Context::get("_http_port") && Context::get("_http_port") != 80) {
|
||||
$url_info['port'] = Context::get("_http_port");
|
||||
}
|
||||
else
|
||||
{
|
||||
unset($url_info['port']);
|
||||
}
|
||||
}
|
||||
|
||||
$url[$ssl_mode][$domain_key] = sprintf("%s://%s%s%s",$use_ssl?'https':$url_info['scheme'], $url_info['host'], $url_info['port']&&$url_info['port']!=80?':'.$url_info['port']:'',$url_info['path']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue