password displayed with new yahoo login code
sulabh.dev at gmail.com
Thu Apr 30 01:06:42 EDT 2009
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
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...
More information about the Devel