Skip to content

Commit 8c83c6d

Browse files
authored
Add nonces to all script tags (#194)
1 parent f7ccedf commit 8c83c6d

54 files changed

Lines changed: 59 additions & 59 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

GenotypeAssays/resources/assay/GenotypeAssay/views/upload.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function() {
44
var webpart = <%=webpartContext%>;

GenotypeAssays/resources/assay/SSP_assay/views/upload.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function() {
44
var webpart = <%=webpartContext%>;

GenotypeAssays/resources/assay/SnpAssay/views/upload.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function() {
44
var webpart = <%=webpartContext%>;

GenotypeAssays/resources/views/bulkHaplotype.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function () {
44
var analysisIds = LABKEY.ActionURL.getParameter('analysisIds');

GenotypeAssays/resources/views/sbtReview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function () {
44
var analysisIds = LABKEY.ActionURL.getParameter('analysisIds');

LabPurchasing/resources/views/begin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function (){
44
var webpart = <%=webpartContext%>;

LabPurchasing/resources/views/manageReferenceItems.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function (){
44
var webpart = <%=webpartContext%>;

LabPurchasing/resources/views/populateData.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
// NOTE: Unofficial API to import a file. Eventually, move this to LABKEY.Query or support importing files directly in LABKEY.Query.importRows().
44
function importFile(config) {

PMR/resources/views/pmrAdmin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function (){
44
var webpart = <%=webpartContext%>;

PMR/resources/views/pmrAnimalHistory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="text/javascript">
1+
<script type="text/javascript" nonce="<%=scriptNonce%>">
22

33
Ext4.onReady(function (){
44
var webpart = <%=webpartContext%>;

0 commit comments

Comments
 (0)