Skip to content

Commit 1df9449

Browse files
authored
pythongh-84461: Tool/wasm/python.html: Add subresource integrity hashes (python#93953)
1 parent a8e333d commit 1df9449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/wasm/python.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="author" content="Katie Bell">
88
<meta name="description" content="Simple REPL for Python WASM">
99
<title>wasm-python terminal</title>
10-
<link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin/>
10+
<link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin integrity="sha384-4eEEn/eZgVHkElpKAzzPx/Kow/dTSgFk1BNe+uHdjHa+NkZJDh5Vqkq31+y7Eycd"/>
1111
<style>
1212
body {
1313
font-family: arial;
@@ -32,7 +32,7 @@
3232
padding: 6px 18px;
3333
}
3434
</style>
35-
<script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin></script>
35+
<script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin integrity="sha384-yYdNmem1ioP5Onm7RpXutin5A8TimLheLNQ6tnMi01/ZpxXdAwIm2t4fJMx1Djs+"/></script>
3636
<script type="module">
3737
class WorkerManager {
3838
constructor(workerURL, standardIO, readyCallBack) {

0 commit comments

Comments
 (0)