diff options
author | James Moger <james.moger@gitblit.com> | 2014-09-05 15:33:01 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-09-05 15:33:01 -0400 |
commit | cf9f80f5d576fa27bd34cc8f880d9eb5c4c619c8 (patch) | |
tree | 216f90ba06485c31a88993dde92c029b72d92a1c | |
parent | 668a0d65fe393986c662a62f667204872582d93f (diff) | |
parent | 71647a6587d4a1b365e382590e535a3915255cac (diff) | |
download | gitblit-cf9f80f5d576fa27bd34cc8f880d9eb5c4c619c8.tar.gz gitblit-cf9f80f5d576fa27bd34cc8f880d9eb5c4c619c8.zip |
Merge branch 'ticket/166' into develop
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/BasePage.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/BasePage.java b/src/main/java/com/gitblit/wicket/pages/BasePage.java index 49710397..b454b7a8 100644 --- a/src/main/java/com/gitblit/wicket/pages/BasePage.java +++ b/src/main/java/com/gitblit/wicket/pages/BasePage.java @@ -166,6 +166,9 @@ public abstract class BasePage extends SessionPage { // use default Wicket caching behavior
super.setHeaders(response);
}
+
+ // XRF vulnerability. issue-500 / ticket-166
+ response.setHeader("X-Frame-Options", "SAMEORIGIN");
}
/**
|