Skip to content

Commit

Permalink
Dreamview: fix potential security vulnerability (#11551)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlin17 authored Jun 24, 2020
1 parent 0f5174d commit 95b7e74
Show file tree
Hide file tree
Showing 11 changed files with 537 additions and 1,434 deletions.
2 changes: 1 addition & 1 deletion modules/dreamview/frontend/dist/app.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/dreamview/frontend/dist/app.bundle.js.map

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 2 additions & 15 deletions modules/dreamview/frontend/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dreamview</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
loadJSON('parameters.json', (response) => {
<!doctype html><html lang="en"><head><meta charset="UTF-8"><title>Dreamview</title><meta name="viewport" content="width=device-width,initial-scale=1"><script>loadJSON('parameters.json', (response) => {
window.PARAMETERS = JSON.parse(response);
});
function loadJSON(jsonFilePath, callback) {
Expand All @@ -21,10 +14,4 @@
}
};
xobj.send(null);
}
</script>
<link rel="shortcut icon" href="/icons/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png"><link rel="manifest" href="/icons/manifest.json"><meta name="mobile-web-app-capable" content="yes"><meta name="theme-color" content="#fff"><meta name="application-name" content="dreamview"><link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-touch-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-touch-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/icons/apple-touch-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/icons/apple-touch-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/icons/apple-touch-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/icons/apple-touch-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/icons/apple-touch-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/icons/apple-touch-icon-152x152.png"><link rel="apple-touch-icon" sizes="167x167" href="/icons/apple-touch-icon-167x167.png"><link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon-180x180.png"><link rel="apple-touch-icon" sizes="1024x1024" href="/icons/apple-touch-icon-1024x1024.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="dreamview"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" href="/icons/apple-touch-startup-image-320x460.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)" href="/icons/apple-touch-startup-image-640x920.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" href="/icons/apple-touch-startup-image-640x1096.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" href="/icons/apple-touch-startup-image-750x1294.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)" href="/icons/apple-touch-startup-image-1182x2208.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)" href="/icons/apple-touch-startup-image-1242x2148.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" href="/icons/apple-touch-startup-image-748x1024.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" href="/icons/apple-touch-startup-image-768x1004.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" href="/icons/apple-touch-startup-image-1496x2048.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" href="/icons/apple-touch-startup-image-1536x2008.png"><link rel="icon" type="image/png" sizes="228x228" href="/icons/coast-228x228.png"><meta name="msapplication-TileColor" content="#fff"><meta name="msapplication-TileImage" content="/icons/mstile-144x144.png"><meta name="msapplication-config" content="/icons/browserconfig.xml"><link rel="yandex-tableau-widget" href="/icons/yandex-browser-manifest.json"></head>
<body>
<div id="root"></div>
<script type="text/javascript" src="/app.bundle.js"></script></body>
</html>
}</script></head><body><div id="root"></div><script src="/app.bundle.js"></script></body></html>
2 changes: 1 addition & 1 deletion modules/dreamview/frontend/dist/worker.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/dreamview/frontend/dist/worker.bundle.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions modules/dreamview/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,14 @@
"eslint-loader": "^2.0.0",
"eslint-plugin-react": "^7.0.1",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"html-webpack-plugin": "4.0.0",
"image-webpack-loader": "^5.0.0",
"json-loader": "^0.5.4",
"node-sass": "^4.5.3",
"progress-bar-webpack-plugin": "^1.9.3",
"sass-loader": "^6.0.5",
"style-loader": "^0.18.1",
"url-loader": "^0.5.8",
"webapp-webpack-plugin": "^2.6.0",
"webpack": "4.28.4",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.2.3",
Expand Down
Loading

0 comments on commit 95b7e74

Please sign in to comment.