diff options
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_file.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp index 7b0211e70e..547257a570 100644 --- a/protocols/JabberG/src/jabber_file.cpp +++ b/protocols/JabberG/src/jabber_file.cpp @@ -154,6 +154,7 @@ void CJabberProto::FileProcessHttpDownload(MCONTACT hContact, const char *jid, c const char *b = strrchr(pszUrl, '/') + 1;
while (*b != 0 && *b != '#' && *b != '?')
szName.AppendChar(*b++);
+ mir_urlDecode(szName.GetBuffer());
auto *pszName = szName.c_str();
MHttpRequest req(REQUEST_HEAD);
|