mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #357 incorrect redirect to insecure URL when using setQuery() in JS
This commit is contained in:
parent
005e443d3a
commit
5debdea06f
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ jQuery(function($) {
|
|||
uri = uri.replace(re, toReplace);
|
||||
}
|
||||
|
||||
var bUseSSL = !!window.enforce_ssl;
|
||||
var bUseSSL = !!window.enforce_ssl || (location.protocol == 'https:');
|
||||
if (!bUseSSL && isArray(window.ssl_actions) && (act=uri.getQuery('act'))) {
|
||||
for (var i=0,c=ssl_actions.length; i < c; i++) {
|
||||
if (ssl_actions[i] === act) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue