summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/DocsPage.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/DocsPage.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/DocsPage.java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/DocsPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/DocsPage.java b/src/main/java/com/gitblit/wicket/pages/DocsPage.java
index fc56ee07..a3d0f214 100644
--- a/src/main/java/com/gitblit/wicket/pages/DocsPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/DocsPage.java
@@ -49,7 +49,7 @@ public class DocsPage extends RepositoryPage {
public DocsPage(PageParameters params) {
super(params);
- MarkupProcessor processor = new MarkupProcessor(app().settings());
+ MarkupProcessor processor = new MarkupProcessor(app().settings(), app().xssFilter());
Repository r = getRepository();
RevCommit head = JGitUtils.getCommit(r, null);