Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] problems with soap interface (probably all utf8 related)
- From: David Verdin <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] problems with soap interface (probably all utf8 related)
- Date: Tue, 26 Nov 2013 14:40:00 +0100
Hi, We will investigate this problem. I'am particularly disturbed by the discrepancy between the different fields - submitted in a single SOAP request. I'll keep you informed as soon as we solve this problem. For your information, we're using this SOAP server between several servers using different OS without any encoding problem. I'll try to stick to your setting to find relevant misbehaviours. Cheers, David Le 19/11/13 14:23, Goltz, Immo [Extern]
a écrit :
Hello sympa users,
i am evaluating sympa with the intention to replace a lyris listmanger installation. So far so good, but when it comes to soap, which is mandatory for our environment, sympa fails.
That the provided functions are limited is not the point, i found some patches to enhance this. But using soap, web gui (and mail) leads to encoding problems. An broken welcome mails. I hope someone can point me into the right direction how to fix this.
Base system is CentOS 6.4 / 64 bit. soap::lite, mime:: and other packages via cpan, all other perl from centos or epel/rpmforge. MySQl as DB. sympa is version 6.1.17
Creation of a list with UTF8 characters inside subject and info * Using Web-GUI -> correctly encoded in DB and in the 2 files (config, info) -> correct view in Web-GUI -> incorrect subject view in soap * Using soap -> correctly encoded in DB -> wrong (and different) encoding in the 2 files (config: Ä becomes C4, info: Ä becomes EFBFBD) -> incorrect view in Web-GUI -> correct subject view in soap
Adding a user with uf8 comment_subscriber to a list * Using Web-GUI -> (add user first, then edit user) correctly encoded in DB -> correct view in Web-GUI -> welcome mail correctly encoded * Using soap -> correctly encoded in DB -> correct view in Web-GUI -> welcome mail incorrectly encoded (and body repeated 3 times if list info contains cyrillic text)
I had a look at different sourcesup entries and did fiddly with sympasoap.pm. But i couldnt fully solve these errors. Most disturbing, the problem of the broken welcome mail. This happens in mail.pm, in sub reformat_message. It has something to do with MIME::Parser here: $msg = $parser->parse_data($message); But as far as i could debug, the function is called with identical values from soap and from web. So why is ist broken via soap? (with perl-MIME-tools-5.427-4.el6.noarch and MIME-tools-5.504 from cpan)
Any help is appreciated Thank you in advance
Immo Goltz
--
A bug in Sympa? Quick! To the bug tracker!
|
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
-
[sympa-users] problems with soap interface (probably all utf8 related),
Goltz, Immo [Extern], 11/19/2013
- Re: [sympa-users] problems with soap interface (probably all utf8 related), David Verdin, 11/26/2013
Archive powered by MHonArc 2.6.19+.