password displayed with new yahoo login code

Sulabh Mahajan at
Thu Apr 30 01:06:42 EDT 2009

Hello everyone,

When coding for the new yahoo login procedure, it was noticed that password
of the user is displayed in the debug logs. It happens because we access the
following url, which contains the password of the user.

purple_util_fetch_url_request() used to access the url, has the following
debug line which prints the password in the log,

             "requested to fetch (%s), full=%d, user_agent=(%s),
             url, full, user_agent?user_agent:"(null)", http11);

What should be our course of action to prevent showing the password in the
debug log?

John Bailey (rekkanoryo) suggested to only print the url in the case of
#ifdef DEBUG, and hence show password only in case if compiled with

Any more ideas ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list