putting a macro into the sandbox with allowMacro() did the opposite of what it should
This commit is contained in:
parent
50d49d0484
commit
a7d1e5d368
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ public class Skin {
|
|||
*/
|
||||
public void render (RequestEvaluator reval, ESObject thisObject, IPathElement elem, ESObject paramObject) throws RedirectException {
|
||||
|
||||
if (sandbox != null && sandbox.contains (getFullName ())) {
|
||||
if (sandbox != null && !sandbox.contains (getFullName ())) {
|
||||
String h = handler == null ? "global" : handler;
|
||||
reval.res.write ("[Macro "+getFullName()+" not allowed in sandbox]");
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue