Re: CLogDlg::MonitorEditProject remove \r and \n from encrypted username/password

2022-11-22 Thread Daniel Sahlberg via TortoiseSVN-dev
tisdag 22 november 2022 kl. 18:36:08 UTC+1 skrev Stefan: > Now that we don't support WinXP anymore, the string operations to > remove/replace newlines can be removed. But for XP it was necessary because > the CRYPT_STRING_NOCRLF option doesn't work on XP, which means there the >

Re: CLogDlg::MonitorEditProject remove \r and \n from encrypted username/password

2022-11-22 Thread Stefan via TortoiseSVN-dev
On Tuesday, November 22, 2022 at 1:21:47 AM UTC+1 daniel.l...@gmail.com wrote: > Hi, > > While investigating another issue in the Project Monitor, I saw the > following code in MonitorEditProject: > > [[[ > pEditProject->username = CStringUtils::Encrypt(dlg.m_sUsername); >

CLogDlg::MonitorEditProject remove \r and \n from encrypted username/password

2022-11-21 Thread Daniel Sahlberg via TortoiseSVN-dev
Hi, While investigating another issue in the Project Monitor, I saw the following code in MonitorEditProject: [[[ pEditProject->username = CStringUtils::Encrypt(dlg.m_sUsername); pEditProject->password = CStringUtils::Encrypt(dlg.m_sPassword);