Fix xss due to handlebars variables in javascript (#535)
* fix xss due to handlebars variables in javascript * fix: update data viewer against XSS Signed-off-by: Michael Nutt <michael@nuttnet.net> * fix: remove key_query from all static assets to prevent XSS Signed-off-by: Michael Nutt <michael@nuttnet.net> Signed-off-by: Michael Nutt <michael@nuttnet.net>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>TileServer GL - Server for vector and raster maps with GL styles</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{public_url}}index.css{{&key_query}}" />
|
||||
<link rel="stylesheet" type="text/css" href="{{public_url}}index.css" />
|
||||
<script>
|
||||
function toggle_xyz(id) {
|
||||
var el = document.getElementById(id);
|
||||
@@ -110,4 +110,4 @@
|
||||
</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user