We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11bd7fe commit 86c98daCopy full SHA for 86c98da
webssh/static/js/main.js
@@ -106,9 +106,9 @@ jQuery(function($){
106
}
107
108
109
- function decode_uri(uri) {
+ function decode_uri_component(uri) {
110
try {
111
- return decodeURI(uri);
+ return decodeURIComponent(uri);
112
} catch(e) {
113
console.error(e);
114
@@ -833,7 +833,7 @@ jQuery(function($){
833
834
835
parse_url_data(
836
- decode_uri(window.location.search.substring(1)) + '&' + decode_uri(window.location.hash.substring(1)),
+ decode_uri_component(window.location.search.substring(1)) + '&' + decode_uri_component(window.location.hash.substring(1)),
837
form_keys, opts_keys, url_form_data, url_opts_data
838
);
839
// console.log(url_form_data);
0 commit comments