mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix #1949 don't normalize to http URL if enforce_ssl is off
This commit is contained in:
parent
06565b05cd
commit
d4ffe761c5
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ jQuery(function($) {
|
|||
* @return URI
|
||||
*/
|
||||
function normailzeUri(uri) {
|
||||
var protocol = window.enforce_ssl ? 'https' : 'http';
|
||||
var protocol = window.enforce_ssl ? 'https' : uri.protocol();
|
||||
var port = (protocol === 'http') ? window.http_port : window.https_port;
|
||||
var filename = uri.filename() || 'index.php';
|
||||
var queries = uri.search(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue