diff options
author | James Moger <james.moger@gitblit.com> | 2014-09-07 11:21:59 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-09-07 11:43:40 -0400 |
commit | 11a1739389e9bafa0b89de910105967508b56dbf (patch) | |
tree | 639f04dcce5713c9aa71b23dc3c89877e3688a35 /src/main/java/com/gitblit/wicket/pages/SummaryPage.java | |
parent | 209dbdd49a89d6e3cebf61e860c779a1d8561dd9 (diff) | |
download | gitblit-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.java | 2 |
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) {
|