Skip to Content.
Sympa Menu

devel - [sympa-dev] [SOAP] trusted_applications.conf not lowercase application name not correctly handled

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: "Sébastien Santoro" <address@concealed>
  • To: address@concealed
  • Subject: [sympa-dev] [SOAP] trusted_applications.conf not lowercase application name not correctly handled
  • Date: Wed, 4 Jul 2007 16:22:58 +0200

Good afternoon,

I've fixed a little authentication problem in
trusted_applications.conf: the parameter name is always converted to
lowercase.

As this parameter by design (see %trusted_applications in Conf.pm)
seems have to be case insensitive, a good way to fix is to convert
also in lowercase the paramater given by the webservice client.

Patch proposal:

--- Auth.pm.dist 2007-07-04 15:57:45.000000000 +0200
+++ Auth.pm 2007-07-04 16:05:13.000000000 +0200
@@ -384,7 +384,7 @@

foreach my $application (@trusted_apps){

- if ($application->{'name'} eq $trusted_application_name) {
+ if ($application->{'name'} eq lc($trusted_application_name)) {
if ($md5 eq $application->{'md5password'}) {
# &do_log('debug', 'Auth::remote_app_check_password :
authentication succeed for %s',$application->{'name'});
my %proxy_for_vars ;


Reference:
bug #3183
https://sourcesup.cru.fr/tracker/index.php?func=detail&aid=3183&group_id=23&atid=167

--
Sébastien Santoro aka Dereckson
Rue de la Science 14 - 6000 Charleroi - Belgique

Tel +32 487 158 344 - skype://dereckson/

Espace Win - http://www.espace-win.info/
Open Your Windows - Ouvrez vos horizons

Double V Network - http://www.double-v.com/
Double V - Passez à la vitesse V V'



  • [sympa-dev] [SOAP] trusted_applications.conf not lowercase application name not correctly handled, Sébastien Santoro, 07/04/2007

Archive powered by MHonArc 2.6.19+.

Top of Page