@@ -1110,12 +1110,16 @@ protected function writeLog($text,$action) {
1110
1110
$ text = $ this ->hideTextBetween ($ text ,'<clID> ' ,'</clID> ' );
1111
1111
// Hide password in the logging
1112
1112
$ text = $ this ->hideTextBetween ($ text ,'<pw> ' ,'</pw> ' );
1113
- // Hide password in the logging
1114
1113
$ text = $ this ->hideTextBetween ($ text ,'<pw><![CDATA[ ' ,']]></pw> ' );
1115
1114
// Hide new password in the logging
1116
1115
$ text = $ this ->hideTextBetween ($ text ,'<newPW> ' ,'</newPW> ' );
1117
- // Hide new password in the logging
1118
1116
$ text = $ this ->hideTextBetween ($ text ,'<newPW><![CDATA[ ' ,']]></newPW> ' );
1117
+ // Hide domain password in the logging
1118
+ $ text = $ this ->hideTextBetween ($ text ,'<domain:pw> ' ,'</domain:pw> ' );
1119
+ $ text = $ this ->hideTextBetween ($ text ,'<domain:pw><![CDATA[ ' ,']]></domain:pw> ' );
1120
+ // Hide contact password in the logging
1121
+ $ text = $ this ->hideTextBetween ($ text ,'<contact:pw> ' ,'</contact:pw> ' );
1122
+ $ text = $ this ->hideTextBetween ($ text ,'<contact:pw><![CDATA[ ' ,']]></contact:pw> ' );
1119
1123
//echo "-----".date("Y-m-d H:i:s")."-----".$text."-----end-----\n";
1120
1124
$ log = "----- " . $ action . "----- " . date ("Y-m-d H:i:s " ) . "----- \n" . $ text . "\n-----END----- " . date ("Y-m-d H:i:s " ) . "----- \n" ;
1121
1125
$ this ->logentries [] = $ log ;
0 commit comments