NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item9321: Logging of logout event exposed uninitialized string in Foswiki.pm logger

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine Foswiki::logEvent  
Item8851 added a logging for authentication logout.

This results in the $user string being uninitialized in the Foswiki.pm logging routines.

Add check for undefined $user, and use empty string if undefined. User logging out is recorded in the actual message.

Doesn't need to be documented.

-- GeorgeClark - 14 Jul 2010

 

ItemTemplate edit

Summary Logging of logout event exposed uninitialized string in Foswiki.pm logger
ReportedBy GeorgeClark
Codebase 1.0.9
SVN Range
AppliesTo Engine
Component Foswiki::logEvent
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:8179
TargetRelease patch
ReleasedIn 1.0.10
Topic revision: r6 - 08 Sep 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads