diff options
author | George Hazan <george.hazan@gmail.com> | 2024-08-05 20:22:36 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-08-05 20:22:36 +0300 |
commit | b41249cfae3de49321d23af9e098224a06113796 (patch) | |
tree | 76adda8193edc91c884c0bad8c5c0b10d9877a60 /src/mir_app | |
parent | 4f14f0cbdb82962e84716a118e6e0fb78f855c8b (diff) |
fixes #4551 (SkypeWeb: не работает отправка и прием файлов)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/netlib_http.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/netlib_http.cpp b/src/mir_app/src/netlib_http.cpp index c05b02488f..ee05831d17 100644 --- a/src/mir_app/src/netlib_http.cpp +++ b/src/mir_app/src/netlib_http.cpp @@ -1053,7 +1053,7 @@ static MHttpResponse* HttpTransactionWorker(HNETLIBUSER nlu, MHttpRequest *nlhr, nlhr->m_szParam.Empty();
}
- if (!nlhr->FindHeader("User-Agent")) {
+ if (!nlhr->FindHeader("User-Agent") && !(nlhr->flags & NLHRF_NOUSERAGENT)) {
char szUserAgent[64], szMirandaVer[64];
strncpy_s(szMirandaVer, MIRANDA_VERSION_STRING, _TRUNCATE);
#if defined(_WIN64)
|