Skip to content

Commit ecc1926

Browse files
ahornaceVladimir Kotal
authored andcommitted
Update xss to 1.0.8
1 parent 245a711 commit ecc1926

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

opengrok-web/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,18 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <[email protected]>.
144144
</exclusion>
145145
</exclusions>
146146
</dependency>
147+
<dependency>
148+
<groupId>org.webjars.npm</groupId>
149+
<artifactId>xss</artifactId>
150+
<version>1.0.8</version>
151+
<!-- dependencies not required -->
152+
<exclusions>
153+
<exclusion>
154+
<groupId>*</groupId>
155+
<artifactId>*</artifactId>
156+
</exclusion>
157+
</exclusions>
158+
</dependency>
147159
<dependency>
148160
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
149161
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>

opengrok-web/src/main/java/org/opengrok/web/Scripts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public String toHtml() {
114114
putFromWebJar("jquery-tablesorter", "jquery.tablesorter.min.js", 12);
115115
putjs("tablesorter-parsers", "js/tablesorter-parsers-0.0.2", 13, true);
116116
putjs("searchable-option-list", "js/searchable-option-list-2.0.14", 14);
117-
putjs("utils", "js/utils-0.0.38", 15, true);
117+
putjs("utils", "js/utils-0.0.39", 15, true);
118118
putjs("repos", "js/repos-0.0.2", 20, true);
119119
putjs("diff", "js/diff-0.0.4", 20, true);
120120
putjs("jquery-caret", "js/jquery.caret-1.5.2", 25);

opengrok-web/src/main/webapp/js/utils-0.0.38.js renamed to opengrok-web/src/main/webapp/js/utils-0.0.39.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ function init_markdown_converter() {
14821482
var converter = null;
14831483
$('[data-markdown]').each(function () {
14841484
var $that = $(this);
1485-
$.script.loadScript('js/xss-0.2.16.min.js').done(function () {
1485+
$.script.loadScript('webjars/xss/1.0.8/dist/xss.min.js').done(function () {
14861486
$.script.loadScript('webjars/showdown/1.9.1/dist/showdown.min.js').done(function () {
14871487
$that.find('.markdown-content[data-markdown-download]').each(function () {
14881488
var $dataMarkdownDownloadEl = $(this);

0 commit comments

Comments
 (0)