Commit fbc8b983 authored by Marshall Greenblatt's avatar Marshall Greenblatt

Windows: Support crash upload URLs with query component (issue #1995)

parent c8c3ef47
......@@ -300,6 +300,9 @@ patches = [
#
# Implement better rate-limiting/retry logic.
# https://bugs.chromium.org/p/crashpad/issues/detail?id=23
#
# Windows: Support crash upload URLs with query component.
# https://bugs.chromium.org/p/crashpad/issues/detail?id=163
'name': 'crashpad_tp_1995',
'path': '../third_party/crashpad/',
},
......
......@@ -288,3 +288,16 @@ index 3ada8c3..ffaae42 100644
prune_thread.Start();
CrashReportExceptionHandler exception_handler(
diff --git crashpad/util/net/http_transport_win.cc crashpad/util/net/http_transport_win.cc
index 58ecc47..8c1c16d 100644
--- crashpad/util/net/http_transport_win.cc
+++ crashpad/util/net/http_transport_win.cc
@@ -143,7 +143,7 @@ bool HTTPTransportWin::ExecuteSynchronously(std::string* response_body) {
ScopedHINTERNET request(WinHttpOpenRequest(
connect.get(),
base::UTF8ToUTF16(method()).c_str(),
- url_path.c_str(),
+ (url_path + extra_info).c_str(),
nullptr,
WINHTTP_NO_REFERER,
WINHTTP_DEFAULT_ACCEPT_TYPES,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment