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 b505507 commit 71e6646Copy full SHA for 71e6646
inst/www/shared/shiny.js
@@ -2668,7 +2668,8 @@
2668
this.form = document.createElement('form');
2669
this.form.method = 'POST';
2670
this.form.setAttribute('enctype', 'multipart/form-data');
2671
- this.form.action = "session/" + escape(this.config.sessionId) + "/upload2/" + escape(this.id);
+ this.form.action = "session/" + encodeURI(this.config.sessionId)
2672
+ + "/upload2/" + encodeURI(this.id);
2673
this.form.id = 'shinyupload_form_' + this.id;
2674
this.form.target = iframeId;
2675
$(this.form).insertAfter(this.fileEl).append(this.fileEl);
0 commit comments