summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-07 11:21:59 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-07 11:43:40 -0400
commit11a1739389e9bafa0b89de910105967508b56dbf (patch)
tree639f04dcce5713c9aa71b23dc3c89877e3688a35 /src/main/java/com/gitblit/wicket/pages/SummaryPage.java
parent209dbdd49a89d6e3cebf61e860c779a1d8561dd9 (diff)
downloadgitblit-11a1739389e9bafa0b89de910105967508b56dbf.tar.gz
gitblit-11a1739389e9bafa0b89de910105967508b56dbf.zip
Enforce relaxed XSS filtering on markup documents
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/SummaryPage.java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/SummaryPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/SummaryPage.java b/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
index 090c0952..3cfa152e 100644
--- a/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
@@ -138,7 +138,7 @@ public class SummaryPage extends RepositoryPage {
MarkupDocument markupDoc = null;
RevCommit head = JGitUtils.getCommit(r, null);
if (head != null) {
- MarkupProcessor processor = new MarkupProcessor(app().settings());
+ MarkupProcessor processor = new MarkupProcessor(app().settings(), app().xssFilter());
markupDoc = processor.getReadme(r, repositoryName, getBestCommitId(head));
}
if (markupDoc == null || markupDoc.markup == null) {