mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
Fixed : exec_xml이 정상적으로 동작하지 않던 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7378 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
feb2a1e054
commit
a16caaed61
1 changed files with 2 additions and 2 deletions
|
|
@ -199,14 +199,14 @@ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, resp
|
||||||
if ($.isArray(ssl_actions) && params['act'] && $.inArray(params['act'], ssl_actions) >= 0)
|
if ($.isArray(ssl_actions) && params['act'] && $.inArray(params['act'], ssl_actions) >= 0)
|
||||||
{
|
{
|
||||||
var url = default_url || request_uri;
|
var url = default_url || request_uri;
|
||||||
var port = https_port || 443;
|
var port = window.https_port || 443;
|
||||||
var _ul = $('<a>').attr('href', url)[0];
|
var _ul = $('<a>').attr('href', url)[0];
|
||||||
var target = 'https://' + _ul.hostname.replace(/:\d+$/, '');
|
var target = 'https://' + _ul.hostname.replace(/:\d+$/, '');
|
||||||
|
|
||||||
if(port != 443) target += ':'+port;
|
if(port != 443) target += ':'+port;
|
||||||
if(_ul.pathname[0] != '/') target += '/';
|
if(_ul.pathname[0] != '/') target += '/';
|
||||||
|
|
||||||
target += ul.pathname;
|
target += _ul.pathname;
|
||||||
xml_path = target.replace(/\/$/, '')+'/index.php';
|
xml_path = target.replace(/\/$/, '')+'/index.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue