Merge pull request #3 from arcanis/arcanis-patch-1
Encode all query string parameters
This commit is contained in:
commit
6ad707ddba
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@
|
||||||
var encryptedPairing = CryptoJS.AES.encrypt( pairings[ name ], key );
|
var encryptedPairing = CryptoJS.AES.encrypt( pairings[ name ], key );
|
||||||
|
|
||||||
var pairingPath = window.location.pathname.replace( /[^/]+$/, '' ) + 'pairing.html';
|
var pairingPath = window.location.pathname.replace( /[^/]+$/, '' ) + 'pairing.html';
|
||||||
var pairingQueryString = '?name=' + encodeURIComponent( name ) + '&key=' + key + '&pairing=' + encryptedPairing;
|
var pairingQueryString = '?name=' + encodeURIComponent( name ) + '&key=' + encodeURIComponent( key ) + '&pairing=' + encodeURIComponent( encryptedPairing );
|
||||||
|
|
||||||
tdName.innerText = name;
|
tdName.innerText = name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue