zD12 / pircbotx

Automatically exported from code.google.com/p/pircbotx
0 stars 0 forks source link

Exclude password from toString() output #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

@Override
public void onMessage(MessageEvent<PircBotX> event) {
    System.err.println(event);
}

What is the expected output? What do you see instead?

The password is in the output twice. It should be hidden because toString() is 
helpful for debugging and therefore may end up in logfiles.

What version of the product are you using?
1.9

Original issue reported on code.google.com by HendrikU...@nexgo.de on 1 May 2013 at 3:34

GoogleCodeExporter commented 9 years ago
This makes sense. serverPassword is now being excluded from Configuration's 
toString in 2.0 in Revision 0918ce2fbbd1

Original comment by Lord.Qua...@gmail.com on 1 May 2013 at 5:58