mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'v3.0.x'
This commit is contained in:
@@ -17,6 +17,10 @@ func Gziper() macaron.Handler {
|
||||
return
|
||||
}
|
||||
|
||||
if strings.HasPrefix(requestPath, "/api/plugin-proxy/") {
|
||||
return
|
||||
}
|
||||
|
||||
ctx.Invoke(macaronGziper)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -205,7 +205,9 @@ function (angular, _, moment, kbn, ElasticQueryBuilder, IndexPattern, ElasticRes
|
||||
};
|
||||
|
||||
function escapeForJson(value) {
|
||||
return value.replace(/\"/g, '\\"');
|
||||
return value
|
||||
.replace(/\s/g, '\\ ')
|
||||
.replace(/\"/g, '\\"');
|
||||
}
|
||||
|
||||
function luceneThenJsonFormat(value) {
|
||||
|
||||
Reference in New Issue
Block a user