[Rt-commit] rt branch, 3.4-trunk, updated. 7ecd95e699abbf3fb3e14e23ca89f773e01e0ac0

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


The branch, 3.4-trunk has been updated
       via  7ecd95e699abbf3fb3e14e23ca89f773e01e0ac0 (commit)
      from  de207aa628ddb8d1d1506be9550c47dd99305f77 (commit)

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

- Log -----------------------------------------------------------------
commit 7ecd95e699abbf3fb3e14e23ca89f773e01e0ac0
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Tue Sep 1 15:52:14 2009 +0400

    we must escape CF value

diff --git a/html/Elements/ShowCustomFields b/html/Elements/ShowCustomFields
index 199fe36..19a3b68 100644
--- a/html/Elements/ShowCustomFields
+++ b/html/Elements/ShowCustomFields
@@ -76,7 +76,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' ) );
     }
 };
 

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


More information about the Rt-commit mailing list