[Rt-commit] rt branch, 3.6-trunk, updated. 56b2c042735abcdc4b723944aab23c3e00b03aef

Ruslan Zakirov ruz at bestpractical.com
Tue Sep 1 09:22:49 EDT 2009


The branch, 3.6-trunk has been updated
       via  56b2c042735abcdc4b723944aab23c3e00b03aef (commit)
      from  45a4419043de91389b5900a1e041d3702a13b34b (commit)

Summary of changes:
 html/Elements/ShowCustomFields |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 56b2c042735abcdc4b723944aab23c3e00b03aef
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Tue Sep 1 15:51:25 2009 +0400

    we must escape CF values

diff --git a/html/Elements/ShowCustomFields b/html/Elements/ShowCustomFields
index 9fc74fd..cf6127e 100644
--- a/html/Elements/ShowCustomFields
+++ b/html/Elements/ShowCustomFields
@@ -90,7 +90,7 @@ my $print_value = sub {
     if ( $m->comp_exists( $comp ) ) {
         $m->comp( $comp, Object => $value );
     } else {
-        $m->print( $value->Content );
+        $m->out( $m->interp->apply_escapes( $value->Content, 'h' ) );
     }
     $m->out('</a>') if $linked;
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list