Skip to Content.
Sympa Menu

en - Re: [sympa-users] change_email is case-sensitiv

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: "Lorenz, Sabine" <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] change_email is case-sensitiv
  • Date: Thu, 17 Sep 2009 16:26:59 +0200

Hi,

Indeed, the email address was case sensitive for this matter. It was a bug I fixed. However, as we are about to release the Sympa 6.0 stable version, we will include this bug fix in the Sympa 6 branch only.

Here is a patch you can apply to your Sympa 5.4.7 installation that should resolve your problem:

Index: wwsympa/wwsympa.fcgi
===================================================================
--- wwsympa/wwsympa.fcgi (révision 6168)
+++ wwsympa/wwsympa.fcgi (copie de travail)
@@ -15029,7 +15029,7 @@
foreach my $list ( &List::get_which($param->{'user'}{'email'},$robot, $role) ) {
## Go through owners/editors of the list
foreach my $admin (@{$list->{'admin'}{$role}}) {
- next unless ($admin->{'email'} eq $param->{'user'}{'email'});
+ next unless (lc($admin->{'email'}) eq lc($param->{'user'}{'email'}));

## Update entry with new email address
$admin->{'email'} = $in{'email'};


I'll fix that in the Sympa 6.0 branch too.

Thanks for reporting this bug!

Regards,

David Verdin

Lorenz, Sabine a écrit :
Hello,

I have a problem with the change_email function in Sympa 5.4.7 because
it seems to be case-sensitiv:
If an owner or editor of a list is registered with one ore more large
capitals in his address, the change_email function does not change the
address for that list (and there is no possibility for the user to
recognize that his address has not been change).

Is that intentionally?
Did anybody else already recognize or solve the same problem?

Sincerely,
Sabine

-------------------------------------------
Sabine Lorenz
SCC Steinbuch Centre for Computing
Forschungszentrum Karlsruhe GmbH
Hermann-von-Helmholtz-Platz 1
76344 Eggenstein-Leopoldshafen
Tel: 07247-82-8633
e-mail: address@concealed



--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page