Generate escape sequences for characters in the query
This commit is contained in:
parent
df123ed796
commit
0631afa382
@ -239,9 +239,10 @@ function exportToCSV() {
|
||||
|
||||
// Replace line breaks with spaces
|
||||
query = query.replace(/\n/g, " ");
|
||||
|
||||
setCurrentTab("table_query");
|
||||
|
||||
query = window.encodeURI(query)
|
||||
|
||||
var url = "http://" + window.location.host + "/query?format=csv&query=" + query;
|
||||
var win = window.open(url, '_blank');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user