From 1f36aae81ba4f9a37ef1d5f13d7b895f1fb90b6f Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Wed, 29 May 2024 00:48:04 +0400 Subject: [PATCH] chore: Sanitize spoof logs --- .../integrations/youtube/patches/spoof/SpoofClientPatch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java index de411a66..6ce8da4f 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java @@ -32,7 +32,7 @@ public class SpoofClientPatch { String path = playerRequestUri.getPath(); if (path != null && path.contains("get_watch")) { - Logger.printDebug(() -> "Blocking: " + playerRequestUri + " by returning unreachable uri"); + Logger.printDebug(() -> "Blocking 'get_watch' by returning unreachable uri"); return UNREACHABLE_HOST_URI; } @@ -56,7 +56,7 @@ public class SpoofClientPatch { String path = originalUri.getPath(); if (path != null && path.contains("initplayback")) { - Logger.printDebug(() -> "Blocking: " + originalUrlString + " by returning unreachable url"); + Logger.printDebug(() -> "Blocking 'initplayback' by returning unreachable url"); return UNREACHABLE_HOST_URI_STRING; }