[otrs-cvs] otrs/Kernel/System Encode.pm,1.52,1.53
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv16550/Kernel/System
Modified Files:
Encode.pm
Log Message:
Fixed bug#5158 - Unsafe UTF8 handling in Encode module.
Author: mg
Index: Encode.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Encode.pm,v
retrieving revision 1.52
retrieving revision 1.53
diff -2 -u -d -r1.52 -r1.53
--- Encode.pm 20 Nov 2012 15:34:38 -0000 1.52
+++ Encode.pm 28 Jan 2013 12:36:04 -0000 1.53
@@ -1,5 +1,5 @@
# --
# Kernel/System/Encode.pm - character encodings
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -301,5 +301,7 @@
# set binmode
- binmode( $Row, ':utf8' );
+ # http://www.perlmonks.org/?node_id=644786
+ # http://bugs.otrs.org/show_bug.cgi?id=5158
+ binmode( $Row, ':encoding(utf8)' );
}
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log