projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a805e95
)
new escape flags in RT 3.8.12+ and 4.0.6+, RT#17928
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 2 Jun 2012 11:00:16 +0000
(
04:00
-0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 2 Jun 2012 11:00:16 +0000
(
04:00
-0700)
FS/FS/Mason.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Mason.pm
b/FS/FS/Mason.pm
index
60b0b5f
..
a465063
100644
(file)
--- a/
FS/FS/Mason.pm
+++ b/
FS/FS/Mason.pm
@@
-573,6
+573,8
@@
sub mason_interps {
[ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ],
],
escape_flags => { 'h' => \&RT::Interface::Web::EscapeUTF8,
+ 'u' => \&RT::Interface::Web::EscapeURI,
+ 'j' => \&RT::Interface::Web::EscapeJS,
'js_string' => $js_string_sub,
},
compiler => HTML::Mason::Compiler::ToObject->new(