mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-05 14:19:18 +01:00
Deactivate shiro's blockTraversal filter
Because it breaks our branch encodings Committed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
This commit is contained in:
@@ -121,6 +121,7 @@ public class ScmSecurityModule extends ShiroWebModule
|
||||
// do not block non ascii character,
|
||||
// because this would exclude languages which are non ascii based
|
||||
bindConstant().annotatedWith(Names.named("shiro.blockNonAscii")).to(false);
|
||||
bindConstant().annotatedWith(Names.named("shiro.blockTraversal")).to(false);
|
||||
|
||||
// disable access to mustache resources
|
||||
addFilterChain("/**.mustache", filterConfig(ROLES, "nobody"));
|
||||
|
||||
Reference in New Issue
Block a user