Browse Source

Fixed a bug of url argument value containing an equal sign

pull/126/head
Sheng 5 years ago
parent
commit
359a91b5e8
  1. 2
      webssh/static/js/main.js

2
webssh/static/js/main.js

@ -133,7 +133,7 @@ jQuery(function($){
for (i = 0; i < arr.length; i++) {
pair = arr[i].split('=');
key = pair[0].trim().toLowerCase();
val = pair[1] && pair[1].trim();
val = pair.slice(1).join('=').trim();
if (form_keys.indexOf(key) >= 0) {
form_map[key] = val;

Loading…
Cancel
Save