From 30dc4e420aa0b7c9f33c5f1af0f4b7dc26fcc63b Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 05 Sep 2014 15:41:45 -0400 Subject: [PATCH] Merged #166 "Fix XRF vulnerability" --- src/main/java/com/gitblit/wicket/ExternalImage.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/ExternalImage.java b/src/main/java/com/gitblit/wicket/ExternalImage.java index 3325774..34adb1e 100644 --- a/src/main/java/com/gitblit/wicket/ExternalImage.java +++ b/src/main/java/com/gitblit/wicket/ExternalImage.java @@ -27,6 +27,7 @@ super(id, new Model<String>(url)); } + @Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); checkComponentTag(tag, "img"); -- Gitblit v1.9.1