a couple of patches for windows, edge, and debugging mode
This commit is contained in:
parent
471c8cc094
commit
6da61b973b
2 changed files with 11 additions and 4 deletions
|
|
@ -372,7 +372,7 @@ self.kiri.copyright = exports.COPYRIGHT;
|
|||
function parseOpt(ov) {
|
||||
var opt = {}, kv, kva;
|
||||
// handle kiri legacy and proper url encoding better
|
||||
ov.split(',').map(v => v.split('&')).flat(1).forEach(function(el) {
|
||||
ov.replace(/&/g,',').split(',').forEach(function(el) {
|
||||
kv = decodeURIComponent(el).split(':');
|
||||
if (kv.length === 2) {
|
||||
kva = opt[kv[0]] = opt[kv[0]] || [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue