You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2016/03/14 22:59:37 UTC

wicket git commit: WICKET-6122 Add .map to the list of allowed file extensions in SecurePackageResourceGuard

Repository: wicket
Updated Branches:
  refs/heads/wicket-6.x 260841b3e -> e88c4aa83


WICKET-6122 Add .map to the list of allowed file extensions in SecurePackageResourceGuard


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/e88c4aa8
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e88c4aa8
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e88c4aa8

Branch: refs/heads/wicket-6.x
Commit: e88c4aa83a45fa5bccdc103cf649525f60ff6f3e
Parents: 260841b
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Mar 14 22:31:01 2016 +0100
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Mar 14 22:59:26 2016 +0100

----------------------------------------------------------------------
 .../org/apache/wicket/markup/html/SecurePackageResourceGuard.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/e88c4aa8/wicket-core/src/main/java/org/apache/wicket/markup/html/SecurePackageResourceGuard.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/SecurePackageResourceGuard.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/SecurePackageResourceGuard.java
index 11469c3..9c76f6a 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/SecurePackageResourceGuard.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/SecurePackageResourceGuard.java
@@ -113,6 +113,7 @@ public class SecurePackageResourceGuard extends PackageResourceGuard
 		addPattern("+*.gif");
 		addPattern("+*.ico");
 		addPattern("+*.cur");
+		addPattern("+*.map");
 
 		// WICKET-208 non page templates may be served
 		addPattern("+*.html");