Someone seems to be trying to use up all our backtrace.io quota by
submitting the same bug over and over again which was fixed in
https://github.com/OpenRCT2/OpenRCT2/pull/8533, 17 days ago now.

To prevent such behaviour, I've disabled the old token and replaced it
with a new one, causing dumps from old builds to be rejected now and not
counting towards our quota.
This commit is contained in:
Michał Janiszewski 2019-01-14 21:18:33 +01:00
parent dc1c2292dd
commit b27428835c
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ static bool UploadMinidump(const std::map<std::wstring, std::wstring>& files, in
wprintf(L"files[%s] = %s\n", file.first.c_str(), file.second.c_str());
}
std::wstring url(L"https://openrct2.sp.backtrace.io:6098/"
L"post?format=minidump&token=f9c5e640d498f15dbe902eab3e822e472af9270d5b0cbdc269cee65a926bf306");
L"post?format=minidump&token=27bfc474b8739e7c1df37180727e717a0a95d3bf3f2a8eaaf17ad321fb179c6f");
std::map<std::wstring, std::wstring> parameters;
parameters[L"product_name"] = L"openrct2";
// In case of releases this can be empty