summaryrefslogtreecommitdiffstats
path: root/extensions/Push/lib/Connector/TCL.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-26 05:47:14 +0100
committerByron Jones <bjones@mozilla.com>2013-03-26 05:47:14 +0100
commitf78bc351db35dd8209240eb89bbf45d69e06c0ee (patch)
tree6d2ff6b8966c6be1434d8d1349fa14ccdf6ab638 /extensions/Push/lib/Connector/TCL.pm
parentc7edbac0c7cc07cb5019fe6e14ca5608cf877339 (diff)
downloadbugzilla-f78bc351db35dd8209240eb89bbf45d69e06c0ee.tar.gz
bugzilla-f78bc351db35dd8209240eb89bbf45d69e06c0ee.tar.xz
Bug 854770: fix issues with bugzilla-push
Diffstat (limited to 'extensions/Push/lib/Connector/TCL.pm')
-rw-r--r--extensions/Push/lib/Connector/TCL.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/Push/lib/Connector/TCL.pm b/extensions/Push/lib/Connector/TCL.pm
index 52c3f3876..6207e2eac 100644
--- a/extensions/Push/lib/Connector/TCL.pm
+++ b/extensions/Push/lib/Connector/TCL.pm
@@ -20,6 +20,7 @@ use Bugzilla::User;
use Bugzilla::Attachment;
use Digest::MD5 qw(md5_hex);
+use Encode qw(encode_utf8);
sub options {
return (
@@ -182,6 +183,7 @@ sub send {
RootName => 'sync',
XMLDecl => 1,
);
+ $xml = encode_utf8($xml);
# generate md5
my $md5 = md5_hex($xml);