From 918259079aadf4afdc739263b6476c4be71f7947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez?= Date: Mon, 11 Nov 2013 00:12:39 +0000 Subject: [PATCH] Some characters cause troubles on some devices (tablets, mobiles, ..) so we have removed anything outside ASCII --- guacamole-tunnel/src/main/webapp/scripts/client-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole-tunnel/src/main/webapp/scripts/client-ui.js b/guacamole-tunnel/src/main/webapp/scripts/client-ui.js index b13bd0c34..b2dfcc586 100644 --- a/guacamole-tunnel/src/main/webapp/scripts/client-ui.js +++ b/guacamole-tunnel/src/main/webapp/scripts/client-ui.js @@ -774,7 +774,7 @@ GuacUI.Client.attach = function(guac) { blob.oncomplete = function() { download.ondownload = function() { - saveAs(blob.getBlob(), blob.name); + saveAs(blob.getBlob(), blob.name.replace(/[\u0080-\uffff]/g, "_").replace(/\s/g, "_")); }; download.complete();