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:43:22 UTC
[13/13] wicket git commit: WICKET-6122 Add .map to the list of
allowed file extensions in SecurePackageResourceGuard
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/50a85f85
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/50a85f85
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/50a85f85
Branch: refs/heads/master
Commit: 50a85f853b8de6fa2a658194d206b68ca6fd8466
Parents: ff8ba323
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:42:55 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/50a85f85/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 48949db..957ba80 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
@@ -112,6 +112,7 @@ public class SecurePackageResourceGuard extends PackageResourceGuard
addPattern("+*.gif");
addPattern("+*.ico");
addPattern("+*.cur");
+ addPattern("+*.map");
// WICKET-208 non page templates may be served
addPattern("+*.html");