[Python-checkins] gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH-93953)

miss-islington webhook-mailer at python.org
Fri Jul 1 06:17:43 EDT 2022


https://github.com/python/cpython/commit/9fa966136fd026ecb74a21b4d63b699d3d40b977
commit: 9fa966136fd026ecb74a21b4d63b699d3d40b977
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022年07月01日T03:17:38-07:00
summary:
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH-93953)
(cherry picked from commit 1df9449db24f16c9c96bdd7dc283a5062bca68e6)
Co-authored-by: Petr Viktorin <encukou at gmail.com>
files:
M Tools/wasm/python.html
diff --git a/Tools/wasm/python.html b/Tools/wasm/python.html
index 41cf5fcf6b6df..17ffa0ea8bfef 100644
--- a/Tools/wasm/python.html
+++ b/Tools/wasm/python.html
@@ -7,7 +7,7 @@
 <meta name="author" content="Katie Bell">
 <meta name="description" content="Simple REPL for Python WASM">
 <title>wasm-python terminal</title>
- <link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin/>
+ <link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin integrity="sha384-4eEEn/eZgVHkElpKAzzPx/Kow/dTSgFk1BNe+uHdjHa+NkZJDh5Vqkq31+y7Eycd"/>
 <style>
 body {
 font-family: arial;
@@ -32,7 +32,7 @@
 padding: 6px 18px;
 }
 </style>
- <script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin></script>
+ <script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin integrity="sha384-yYdNmem1ioP5Onm7RpXutin5A8TimLheLNQ6tnMi01/ZpxXdAwIm2t4fJMx1Djs+"/></script>
 <script type="module">
 class WorkerManager {
 constructor(workerURL, standardIO, readyCallBack) {


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /