diff options
-rw-r--r-- | src/mir_app/src/netlibhttp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/netlibhttp.cpp b/src/mir_app/src/netlibhttp.cpp index 8429ef512c..8adb6c1580 100644 --- a/src/mir_app/src/netlibhttp.cpp +++ b/src/mir_app/src/netlibhttp.cpp @@ -454,7 +454,8 @@ INT_PTR NetlibHttpSendRequest(WPARAM wParam, LPARAM lParam) if (ppath && phost)
szHost[ppath - phost] = 0;
- pszUrl = ppath ? ppath : "/";
+ if (!usingProxy)
+ pszUrl = ppath ? ppath : "/";
if (usingProxy && phost && !nlc->dnsThroughProxy) {
char *tszHost = mir_strdup(phost);
|