From 6d98eb5289ff834f7bb77342643dec2926a041b3 Mon Sep 17 00:00:00 2001 From: Victor Romero Date: Mon, 17 Jul 2023 15:41:21 -0700 Subject: [PATCH] Use lowercase process names in telemetry (#1129) --- src/vcpkg/metrics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vcpkg/metrics.cpp b/src/vcpkg/metrics.cpp index 0d39ace3d1..6abfe477bd 100644 --- a/src/vcpkg/metrics.cpp +++ b/src/vcpkg/metrics.cpp @@ -377,8 +377,8 @@ namespace vcpkg std::vector process_list; get_parent_process_list(process_list); - result.parent_process_list = - Strings::join(";", process_list, [](auto&& s) { return Hash::get_string_sha256(s); }); + result.parent_process_list = Strings::join( + ";", process_list, [](auto&& s) { return Hash::get_string_sha256(Strings::ascii_to_lowercase(s)); }); return result; }