[Rt-commit] [rtir] 01/02: Failing test for UTF-8 input

Kevin Falcone falcone at bestpractical.com
Tue Oct 28 17:20:51 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 3.0/sha-utf-8-data
in repository rtir.

commit 644657e8d8a54b7f150cb2550224933fe2a9f05a
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Tue Oct 28 14:19:56 2014 -0400

    Failing test for UTF-8 input
    
    Digest::SHA 5.74 and later no longer silently take unicode strings and
    process them byte by byte.  It will die and prevent further display of
    the page with "Wide character in subroutine entry" in server logs.
---
 t/015-make-clicky.t | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/t/015-make-clicky.t b/t/015-make-clicky.t
index e930c81..5e238ec 100644
--- a/t/015-make-clicky.t
+++ b/t/015-make-clicky.t
@@ -90,5 +90,14 @@ diag "clicky email" if $ENV{'TEST_VERBOSE'};
     }
 }
 
+diag "utf8 caching " if $ENV{'TEST_VERBOSE'};
+{
+    my $content = "snowman \N{U+2603}";
+    my $id = $agent->create_ir( { Subject => 'utf-8 snowman caching', Content => $content } );
+    $agent->display_ticket( $id);
+    $agent->content_contains($content,"Found snowman");
+
+}
+
 done_testing;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list