"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "usr/lib/benno-web/benno_ldapauth" between
benno-web-2.8.9.tgz and benno-web-2.8.10.tgz

About: Open Benno (webapp) mail archiving solution (GUI and user-frontend; PHP5).

benno_ldapauth  (benno-web-2.8.9.tgz):benno_ldapauth  (benno-web-2.8.10.tgz)
skipping to change at line 256 skipping to change at line 256
sub format_addresslist sub format_addresslist
{ {
my @addresslist = @_; my @addresslist = @_;
my $address; my $address;
my %return_addresses; my %return_addresses;
foreach my $token (@addresslist) { foreach my $token (@addresslist) {
# strip MS Exchange smtp: prefix # strip MS Exchange smtp: prefix
$token =~ s/^smtp:\s*//i; $token =~ s/^smtp:\s*//i;
$token =ยจ s/\s//g; # FS#1004 $token =~ s/\s//g; # FS#1004
# extract plain address # extract plain address
# (emailprefix|<empty>)@domain # (emailprefix|<empty>)@domain
($address) = $token =~ /(([a-zA-Z0-9_\*\.+-]+|)\@[a-zA-Z0-9-\*\.]+)/; ($address) = $token =~ /(([a-zA-Z0-9_\*\.+-]+|)\@[a-zA-Z0-9-\*\.]+)/;
next if $address eq ''; next if $address eq '';
# delete duplicates # delete duplicates
$return_addresses{$address} = 1; $return_addresses{$address} = 1;
} }
# delete duplicates # delete duplicates
return (sort keys %return_addresses); return (sort keys %return_addresses);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)