mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-250: Ensure static downloads of Guacamole protocol data are handled as text, even if the "Content-Type" header is missing.
This commit is contained in:
@@ -1139,6 +1139,7 @@ Guacamole.StaticHTTPTunnel = function StaticHTTPTunnel(url, crossDomain) {
|
||||
xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url);
|
||||
xhr.withCredentials = !!crossDomain;
|
||||
xhr.responseType = 'text';
|
||||
xhr.send(null);
|
||||
|
||||
var offset = 0;
|
||||
|
Reference in New Issue
Block a user