Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   parse a correctly the username in save_user_config when using Webserver authentication, posted by Christof Hanke on Wed May 6 15:13:11 2015 parse_http_user_correctly.patch
    icon2.gif   Re: parse a correctly the username in save_user_config when using Webserver authentication, posted by Stefan Ritt on Tue Jun 9 15:44:49 2015 
Message ID: 67884     Entry time: Wed May 6 15:13:11 2015     Reply to this: 67976
Icon: Warning  Author: Christof Hanke  Author Email: hanke@rzg.mpg.de 
Category: Bug fix  OS: All  ELOG Version: 3.1.0 
Subject: parse a correctly the username in save_user_config when using Webserver authentication 

Hi Stefan,

 

When we use Webserver authentication, we have the correct username already in the variable http_user.

The old way of copying this http_user to "user" is wrong since we don't use the size of http_user.

Instead, just encode the http_user variable directly.

See attached patch against git HEAD.

Christof

 

Attachment 1: parse_http_user_correctly.patch  780 Bytes  | Show | Show all
ELOG V3.1.5-2eba886