Repository: incubator-guacamole-client
Updated Branches:
  refs/heads/master 0e2da5a2a -> b90a98946


GUACAMOLE-385: Proper MIME type for tunnel write operations


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/3fbf176a
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/3fbf176a
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/3fbf176a

Branch: refs/heads/master
Commit: 3fbf176a15b8bf850f511f9c279222e2a333250c
Parents: 0e2da5a
Author: Ignasi Barrera <[email protected]>
Authored: Sat Sep 23 20:55:36 2017 +0200
Committer: Ignasi Barrera <[email protected]>
Committed: Sat Sep 23 20:57:11 2017 +0200

----------------------------------------------------------------------
 guacamole-common-js/src/main/webapp/modules/Tunnel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/3fbf176a/guacamole-common-js/src/main/webapp/modules/Tunnel.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/Tunnel.js 
b/guacamole-common-js/src/main/webapp/modules/Tunnel.js
index cc5fbbb..508aa4c 100644
--- a/guacamole-common-js/src/main/webapp/modules/Tunnel.js
+++ b/guacamole-common-js/src/main/webapp/modules/Tunnel.js
@@ -306,7 +306,7 @@ Guacamole.HTTPTunnel = function(tunnelURL, crossDomain) {
             var message_xmlhttprequest = new XMLHttpRequest();
             message_xmlhttprequest.open("POST", TUNNEL_WRITE + tunnel.uuid);
             message_xmlhttprequest.withCredentials = withCredentials;
-            message_xmlhttprequest.setRequestHeader("Content-type", 
"application/x-www-form-urlencoded; charset=UTF-8");
+            message_xmlhttprequest.setRequestHeader("Content-type", 
"application/octet-stream");
 
             // Once response received, send next queued event.
             message_xmlhttprequest.onreadystatechange = function() {

Reply via email to