summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-06-19 15:41:09 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-06-19 15:41:09 +0300
commitcaea4f22113f6cdeff690051b78183aaab5879f9 (patch)
treea2692058b0b9a6e9c9a2b0cc869066d3132270b7
parentafbf8bbcbef25da6944c41f369032d1d54016acb (diff)
fixes #4475 (ICQ: некоторые файлы в истории вгружаются с нулевым размером)
-rw-r--r--protocols/ICQ-WIM/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index 2e31427eab..f1df35bbb2 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -640,7 +640,7 @@ void CIcqProto::ParseMessage(MCONTACT hContact, __int64 &lastMsgId, const JSONNo
if (rc != 0 || st.st_size != iSaveSize) {
MHttpRequest nlhr(REQUEST_GET);
nlhr.flags = NLHRF_REDIRECT;
- nlhr.m_szUrl = szUrl;
+ nlhr.m_szUrl = mir_urlEncode(szUrl);
nlhr.AddHeader("Sec-Fetch-User", "?1");
nlhr.AddHeader("Sec-Fetch-Site", "cross-site");
nlhr.AddHeader("Sec-Fetch-Mode", "navigate");