Commit cbe02a2
committed
GROOVY-7842 - MarkupTemplateEngine Totally Broken when used with a Security Manager (closes groovy#358)
When running under a Security Manager an exception would be thrown because
the empty codebase value was added as a Permission name which can not be
empty. So use the same codebase value that is used by GStringTemplateEngine
and StreamingTemplateEngine for unnamed code sources.1 parent 8408636 commit cbe02a2
File tree
1 file changed
+1
-1
lines changed- subprojects/groovy-templates/src/main/groovy/groovy/text/markup
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
0 commit comments